W3 Total Cache Brotli, Gzip and Header Problem
-
Since few months, W3 Total Cache is getting buggy. There was a time, This one was my favorite caching plugin but now it has a lot weird behaviour. While installing W3 Total Cache getting Warning:-
The plugin generated 228 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
. Somehow installed. I am fed up of these issues. The list of problems goes below:-
1. My Server has brotli, so turned off gzip. Now Cache Control iscache-control: max-age=3597, public, public
Why public-public twice, if i turn on gzip it is back to single public.
2. On HTML pages, vary:Accept-Encoding,Cookie . I want to remove this as i am not compressing so why accept encoding. This vary header is already set by my server if i use brotli. So vary Header is:vary: Accept-Encoding
vary: Accept-Encoding,Cookie3. On other than HTML Requests like css, js. Vary Header is
vary: Accept-Encoding,X-Forwarded-Proto
How can i remove these and solve the issues. I need clean vary: Accept-Encoding only once for Google Cloud CDN as anything appended other than this to vary leads to no cache of resource.
Hope get fix soon
- The topic ‘W3 Total Cache Brotli, Gzip and Header Problem’ is closed to new replies.