I've got a small compatibility issue with SuperCache. Is there any way to specify a different directory for the cache files?
I recently updated to 1.70 and enabled the "Save aggregated script/css as static files" which I really like? I've now switched this off.
The problem is that the max age was being set to 3 seconds. This ws being set by Supercache which adds the following .htaccess file to /wp-content/cache/ directory (and therefore /wp-content/cache/autoptimize).
# BEGIN supercache
AddEncoding gzip .gz
AddType text/html .gz
SetEnvIfNoCase Request_URI \.gz$ no-gzip
Header set Vary "Accept-Encoding, Cookie"
Header set Cache-Control 'max-age=3, must-revalidate'
ExpiresByType text/html A3
# END supercache
It's not a fault with your plugin and maybe SuperCache should put the .htaccess in /wp-content/cache/supercache/. But an easy fix would be for me to move the Autoptimize folder to /public_html/wp-content/autoptimize.
I've tried worked around this by adding a .htaccess file to /public_html/wp-content/cache/autoptimize. This worked but got deleted whenever I purged the Autoptimize cache.
I've now switched back to dynamic but it would be nice to switch it back on..
Thank you for your plugin. It's great and the only minify I've ever been able to get to work well.
The site is http://www.unitedworldschools.org/