With Copilot
Acquia Copilot is a conversational AI connected into our product documentation and knowledge base. Ask Copilot about product features, technical details, troubleshooting and how to get started with Acquia products.
Sign in to use Acquia Copilot
You must configure your Drupal application to take advantage of Varnish®. To set your website’s cache options to external caching, open your Drupal application’s Performance page. The cache settings depend on your version of Drupal:
On the Performance page at /admin/config/development/performance, select an option from the Page cache maximum age list. This value sets the maximum time a page can stay in the Varnish cache for an application running the current Drupal version. Selecting <no caching> sets the max-age value to 0, which means assets are never cached. A reasonable value is 6 hours to 12 hours.
On the Performance page, the only setting that affects the Varnish cache is the Browser and Proxy cache maximum age field. Use this field to configure the maximum time a page can stay in the Varnish cache.
To change the configuration:
/admin/config/development/performance.In the Browser and Proxy cache maximum age field, select the value that you want to assign to the max-age header.
To configure the current Drupal version to use BigPipe rendering, see Enabling BigPipe rendering on Cloud Platform.
On the Performance page at Configuration > Performance, set values for the following items:
max-age header Drupal sends to Varnish is 0, which means the page will not be cached. A reasonable expiration setting is from 6 hours to 12 hours.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.