How to enable pagespeed with LiteSpeed Web Server?

#1
On my Centos server, I installed Mod_Pagespeed and using EasyApache4. This worked well and I can see that pagespeed is working for my websites.
Now I switch from Apache to LiteSpeed, PageSpeed is not working. I am using this website to check https://ismodpagespeedworking.com/ and it shows Fail! Mod_Pagespeed is not running on that domain.

Are there any extra steps I need to do to enable pagespeed for my sites?

Thank you
 

Jon K

Administrator
Staff member
#2
This is because they check for headers specific to apache and nginx and not for LiteSpeed. If you open one of your pages you should see a header like `x-ls-pagespeed`
 
Top