Cache Header date, Minifying, and file permissions
-
Minifying
I’m testing out W3 Total Cache on a staging site and noticed if I try to minify HTML and CSS I’m getting prompted to put in my login/pass (for cpanel directory privacy) for every asset that loads. It also breaks the CSS (doesn’t style the page) even though I verified the URL and it is correct. That primary CSS is also importing an external CSS file from MyFonts.com for purchased webfonts. I disabled messing with that just in case, but it didn’t solve the problem. I’m ignoring JS for now as I’m using SRI with integrity checks which would be broken if your plug-in altered them.Headers
Is there a way to disable WordPress from hijacking the cache headers? It keeps settings the expires date to 1984 and max to 0, even with W3 Total Cache enabled. I tried some suggestions from stackoverflow to remove the headers in functions.php but that doesn’t seem to get rid of the date, only the no-cache stuff. I’d also like to know if there is a way to set your plug-in to follow the expires time I have set globally in Apache includes, or if there is an override for specific things in the settings I have missed (I have CSS, JS and fonts set to 6 months and HTML set to a day and a half, and front pages and other pages to refresh on new post publishing).File Permissions
As for file permissions, is there a way to disable your plug-in alert after I config everything? I want to set my permissions for htaccess and wp-config to 444. Even after your directives are added, it still throws an alert if I change the permissions from 644 to 444.Thanks
- The topic ‘Cache Header date, Minifying, and file permissions’ is closed to new replies.