Information for: DEVELOPERS   PARTNERS

Best Practices for Acquia Cloud Edge

Acquia recommends the following best practices for using Acquia Cloud Edge:

Caching recommendations for Acquia Cloud Edge

Acquia recommends the following defaults for page caching rules in Acquia Cloud Edge CDN:

  • Edge Cache TTL (Time To Live): 1 minute
  • Browser Cache TTL: set to Respect Existing Headers

You should also configure Page Cache Maximum Age (the amount of time Varnish® and Drupal take to cache your assets) to your desired value—typically 30 minutes to one day. Acquia Cloud Edge CDN will contact Varnish once per minute for updated copies of an asset.

Note

The cache size limit is 2 GB per file. You can increase the size to 20 GB for an extra cost per gigabyte. Contact your Account Manager for more information.

Updating cached content before expiration

If your content or assets change at origin in your Drupal website, and you must update the cached copies of the assets before the Page Cache Maximum Age expiration date, Acquia recommends you use the Acquia Purge module.

After you configure the Acquia Purge module, content updates will purge selected portions of Varnish cache. The next time Acquia Cloud Edge CDN requests the asset from Varnish, Acquia Cloud Edge CDN will receive the newly-updated content.

Important

Due to API limitations preventing website visitors from viewing updates to content, Acquia does not recommend using the CloudFlare Purge (cfpurge) module.

Cache tags on Acquia Cloud Edge

When purging caches on Acquia Cloud Edge CDN using the API or the dashboard, the Cache-Tag Header (including whitespace and commas) must not exceed 255 bytes in total length after the header field name. If the supplied Cache-Tag header exceeds 255 bytes in length, Acquia Cloud Edge will purge only the tags in the first 255 bytes.

Logs and log sharing

Acquia Cloud Edge provides subscribers with access to web log data on a per-domain basis. You can forward the web logs for aggregation and analysis using Enterprise Log Sharing.

Acquia Cloud Edge retains audit logs for 18 months and access logs for three days. You may access the logs using the Cloudflare API.