-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to disable gzip compression? #277
Comments
|
At the moment it is not possible. I just (b6c286e) added a filter to disable it which will be available in the next release: // add this snippet somewhere to disable gzip
add_filter('podlove_enable_gzip_for_feeds', function() { return false; });The alternative is to exclude feeds from W3TC caching. |
|
Great, can't wait for the next release. :) I can't disable only feeds in W3TC, I can only disable pages. And caching pages (and especially feeds) was the whole reason why I installed it in the first place. :) |
|
I think I am running in a similar problem when I activate Zencache: https://sendegate.de/t/probleme-mit-zencache/1514/4 Feedvalidator says This error also occurs when I disable rss feed caching in Zencache. |
|
Does applying the same correction also fix it? |
|
I added the line to However there is one problem left. The output is no longer gzip compressed. Nor the main page or the feed are compressed. Despite I enabled it in Do you know why? |
|
Fixed it. I did not enable gzip compression correctly on uberspace. Now it seems to work. Thank you. |
|
Why do you even do gzip in podlove? shouldn't you leave this to the webserver? I think the following happens:
Do you think that's true? A lot of users do not seem to have problems with Zencache though. Maybe because their server has gzip compression already enabled? So I only ran into the issue because I had it disabled? I am still a little unsure... |
Because the size/performance of feeds/feed requests is crucial to server performance. I don't expect users to fiddle with htaccess rules to enable a fundamental feature (their server not going down once an episode is released). If some software caches a site and then delivers it with the wrong headers (like caching a gzipped site and then delivering it with html or plain text headers) I consider this a bug in the caching layer. But I'm not sure what exactly the issue in your stack was. We do check if the server is actually able to do gzip compression and if the client accepts it. But if the zlib-module is available to PHP but not to your web server, there might be issues. I don't think we can check for those edge cases though. |
How can I disable gzip compression manually? I have the suspicion pod loves gzip compression is not working that well with W3 Total Cache.
The text was updated successfully, but these errors were encountered: