No, it’s not possible to make a caching implementation that disregards the standard HTTP Cache-Control header work with said header. You can ask the plugin vendor to support the Cache-Control header, however.
The Cache-Control plugin works best if you use a reverse-proxy, web accelerator, content delivery network, or another caching tool that is controlled with the standard HTTP cache mechanism. The header instructs a cache how long it should store items before asking your servers to generate a new updated copy of a page.
Plugins such as Cache Enabler caches your webpages as static pages on your own server. Which breaks the Cache-Control plugin’s ability to inject HTTP headers. This may save you a millisecond of PHP processing time, but doesn’t actually make your website all that much faster.
You can read up on HTTP-compliant server-side caching with mod_cache for Apache, the proxy_cache module for NGINX, or Varnish Cache. You can also use a budget content distribution network (CDN) (starting at only 0.04 USD/GB –?which is dirt-cheap). They’ll cache your pages in accordance to your HTTP Cache-Control headers (which is what my plugin helps you configure), and serve your website from 20 cache servers located all around the world. You’ll only need to configure your Cache-Control headers, and your CDN provider will do the caching for you. (Whichever CDN provider you choose to use, ask their support for help with configuring “full-site acceleration”. It’s a 30 minute job.)
Using a CDN with the Cache-Control plugin will yield the best performance results for the least amount of effort. Configuring and maintaining caching web servers around the globe yourself requires a lot of effort and upkeep.
I hope this helps.
-
This reply was modified 7 years, 5 months ago by
Dan.