Caching a blog on a site which is already cached
-
I am very happy with Quick Cache but have some doubts. My web site (https://goo.gl/mtyiz) consists of a static component and a WordPress blog in the /blog catalog. In the root of the site I have an .htaccess file which according to Google guidelines asks browsers to cache aggressively (https://goo.gl/UNBlj). And the /blog uses the Quick Cache plugin.
I want the static component to be cached for very long as browsers rewrite their caches anyway, and the blog probably for 1 week (with browser caching activated).
But will the root .htaccess file not override the Quick Cache settings?
The code is:
# Leverage Browser Caching to Increase Website Speed <IfModule mod_expires.c> # Enable expirations ExpiresActive On # Default directive ExpiresDefault "access plus 1 month" # Favicon ExpiresByType image/x-icon "access plus 1 year" # Images ExpiresByType image/jpg "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/png "access plus 1 month" # CSS ExpiresByType text/css "access plus 1 month" # Javascript ExpiresByType text/x-javascript "access plus 1 year" # Flash ExpiresByType application/x-shockwave-flash "access plus 1 year" </IfModule>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Caching a blog on a site which is already cached’ is closed to new replies.