Hi @cjsheps,
I hope you are doing well today!
Please inform us if you have reloaded NGINX after adding the rules, then clicked on recheck in Gzip compression section in Hummingbird.
Also please provide your site URL so that we can check, if some other compression is already active for those type of assets then it can show as inactive for Gzip.
Kind regards,
Zafer
Hi @wpmudevsupport15 Yes reloaded NGINX, it’s our staging site so no other compression is active we do run Redis but we run it through Hummingbird, not the standalone Redis Object Cache plugin.https://intelligent-swanson.74-208-124-179.plesk.page/
-
This reply was modified 3 years, 1 month ago by
Christopher.
Hi @cjsheps
Thank you for sharing the link.
It seems you have a mix here, the HTML is working well with Gzip but CSS and JS are using Brotli which is a Gzip alternative.
https://monosnap.com/file/RLlIFyjcQX4cbiHH35uKCu2uelkmGf
https://www.giftofspeed.com/gzip-test/
This is why the plugin fails to get the Gzip for those file types,
You can either disable Brotli and use Gzip or keep it as it is.
https://support.plesk.com/hc/en-us/articles/12387812757143
Best Regards
Patrick Freitas
Thanks @wpmudevsupport12 so the Apache BROTLI module isn’t activated on my server but I’m presuming that since we use reverse NGINX proxy the NGINX BROTLI module is being used? Will the plugin ever be updated to show the state of BROTLI in the configuration?
These mods are active on NGINX
gzip_static_module
mod_brotli
-
This reply was modified 3 years, 1 month ago by
Christopher.
Hi @cjsheps
Yes, it seems that Brotli is coming from nginx in this case. It’s actually pretty common in case of “hybrid” setups of Apache + nginx that nginx is set to directly serve static files (such as e.g. txt, JS, CSS and similar) and then it would apply its own compression settings to them directly.
This is perfectly fine and doesn’t require any changes.
And yes, we do have a plan already to include Brotli detection in Hummingbird. I don’t have an ETA currently but it will start detecting it with one of future releases.
Kind regards,
Adam