Boost Cache, External CDN?

by clg   Last Updated November 03, 2017 14:07 PM

I have been thrown into a Drupal 6 environment, helping a client whose site has been running terribly for some time now. Among other issues, they had a ton of traffic and were serving it all locally, so we aim to implement a CDN.

Our CDN of choice is Incapsula, who operate much like Cloudflare if you're familiar with them. At their most basic, they can cache static content. Should be simple.

What I'm finding is that when Incapsula's caching is enabled, the cache never updates. If you go through the public address to the site, you will see old content. It's not just old images and CSS, entire pages will be missing if they are added after the cache is enabled. If you bypass the proxy, you see the correct content. Manually clearing the cache from within the Incapsula control panel does not resolve the problem, I can only do that by actually disabling the cache. Of course, while it is enabled, the site flies!

Complicating this, they have Boost installed and enabled. I am new to Drupal, newer to Boost, and I am attempting to understand how the caching works but have not made much progress. Are there specific settings within Boost that might affect this? It feels like a header is misconfigured. Any thoughts and advice are appreciated!

Tags : 6 caching boost cdn


Answers 2


If the CDN caches whole pages you can most likely disable boost.
https://drupal.org/project/advagg - Needed for D6 CSS/JS
https://drupal.org/project/imageinfo_cache - Should help with imagecache generation

mikeytown2
mikeytown2
April 19, 2014 14:12 PM

I work at Incapsula.

This does sound like a cache header issue. (perhaps Drupal Boost assigns prolonged "maxage" values?)

One way or another, you can override these settings using our Advance Control options. http://www.incapsula.com/blog/popping-the-hood-on-website-acceleration.html

One of the selectors there allows Incapsula to automatically override existing maxage and no-cache directives, using its own cache header logic.

You can also manually set your own caching settings: for all resources and for specific resource groups (e.g. all resources set to refresh each 5 minutes and all *.jpg files set to refresh once a day)

Moreover, you can also configure refresh rates for specific resources (e.g. all resources are refreshed every 5 min, all images are refreshed once a day and a homepage banner updated once a month)

I'll be happy to provide more case-specific assistance but, to do that, I`ll need to know the domain name.

Igal Zeifman
Igal Zeifman
April 24, 2014 09:55 AM

Related Questions


Boost is not working in my Drupal site

Updated January 28, 2017 14:03 PM

Boost Not creating cache file

Updated February 16, 2017 14:07 PM

Boost not create cache files

Updated February 17, 2017 12:07 PM


Site Down for few minutes after clearing cache

Updated July 07, 2015 12:42 PM