Question about WP Super Cache and custom code
-
I’ve followed the instructions here and got it working with a few other sites I’ve got set up with both WP Super Cache and BulletProof, but I’m getting a strange request in my WP Super Cache Advanced Settings tab for a larger site. It says Rules must be added to /home/redacted/public_html/wp-content/cache/.htaccess too:
# BEGIN supercache <IfModule mod_mime.c> <FilesMatch "\.html\.gz$"> ForceType text/html FileETag None </FilesMatch> AddEncoding gzip .gz AddType text/html .gz </IfModule> <IfModule mod_deflate.c> SetEnvIfNoCase Request_URI \.gz$ no-gzip </IfModule> <IfModule mod_headers.c> Header set Vary "Accept-Encoding, Cookie" Header set Cache-Control 'max-age=3, must-revalidate' </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/html A3 </IfModule> # END supercache
I already have code provided from WP Super Cache and put it into the top box of my BP custom code box. Do I need to add the code above to my /cache/.htaccess file too? I haven’t been able to find any documentation on this.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Question about WP Super Cache and custom code’ is closed to new replies.