This repository has been archived by the owner on Jul 3, 2022. It is now read-only.
forked from szepeviktor/w3-total-cache-fixed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Smart Browser Cache Defaults (Revision) (szepeviktor#64)
Fixed some mistakes seen in commit szepeviktor#62 by @Volnus The original commit was done to the compatibility file 0.9.4.4-ConfigKeys.php instead of ConfigKeys.php. I shifted the new defaults into ConfigKeys.php and reverted 0.9.4.4-ConfigKeys.php back to its original self. I changed browsercache.cssjs.w3tc and browsercache.html.w3tc back to false because these options only bloat up response data by including the unnecessary header: "X-Powered-By: W3 Total Cache". I also put back browsercache.other.compression to true since @Volnus mistakenly thought this compresses non-text files. When enabled this compresses ico and json mimes for apache, and the ico mime for nginx. json is a text file. And although ico is not a text file it is common practice to compress it. So its efficient to keep browsercache.other.compression set to true.
- Loading branch information
1 parent
ebd19e0
commit 4e7d9a3
Showing
2 changed files
with
25 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters