How to enable GZIP compression on a droplet with Openlitespeed WordPress installation?

I am a noob! So, I need some help. I installed Openlitespeed WordPress from the Marketplace on a droplet with Ubuntu. I never had any idea that LSCache doesn’t have the option of GZIP compression. I want to enable it without using an additional plugin. Can anyone guide me? As I said, I am a noob. Some help with a simple explanation or a step-by-step guide will be really helpful.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

HI @shivaranjanibaidya ,

You can ignore the compression alert from Pingdom since they don’t support brotli from the first beginning. If you test on GTMetrix, all shows score A (98%). I also didn’t see any issue on Pagespeed Insights.

Currently your static files are served by cloudflare, so if you see “Serve static assets” again, you might want to look into your CDN settings.

Best, Eric

@eleu, The url is Can you please go through it once? Not all resources. I guess a few of them.

Hi @shivaranjanibaidya ,

I just want to provide some information here for OpenLiteSpeed gzip question.

The OpenLiteSpeed comes with both Gzip/Brotli compression enabled, so you don’t need to do anything. That’s why LSCache Plugin has no such feature.

FYI, Browser cache is also enabled by default on server level.

Best, Eric