Cache control HTTP header
-
Hi,
Couple of questions:
1) I wonder what’s the role of SG-Optimizer in setting some cache-related HTTP headers, specially:
cache-control: no-cache, must-revalidate, max-age=0
This header in present in any URL on a standard WP installation, and it doesn’t change after installing SG Optimizer. So I’d assume it is a header WP itself adds to prevent caching issues in blogs with comments. Since my website does not allow comments, I’d like to have this header changed, and I thought SG Optimizer would do it.
As it is, the above header prevents Cloudflare from caching the pages even when I set a Cache Everything page rule to include the caching of HTML.
2) Also, I’d like to know if SG Optimizer has any plans to let users define the expiration of their browser caching by file type. Currently the plugin adds a section on .htaccess that includes, which defines expiration by content type (CSS, JS, HTML etc). One can always manually edit this on .htaccess, but it would be nice if this could be set from the plugin’s interface.
- The topic ‘Cache control HTTP header’ is closed to new replies.