Wordpress LScache Plugin: AMP displaying incorrectly
Last Updated on: Wed, 15 Apr 2026 00:00:02 I am running my website with litespeed through my hosting service. I am currently using litespeed plugin for wordpress. I am using the official AMP plugin for AMP. The amp pages are not rendering correctly. With the litespeed plugin DEACTIVATED, the mobile site works fine. However, with litespeed plugin ACTIVATED, the content of the AMP page shifts to the left and is very small, occupying only 1/4 of the mobile browser. The followind is in htaccess: # BEGIN LSCACHE ## LITESPEED WP CACHE PLUGIN ? Do not edit the contents of this block! ## RewriteEngine on CacheLookup on RewriteRule . ? [E=Cache-Control:no-autoflush] RewriteRule .litespeed_conf .dat ? [F,L] ### marker MOBILE start ### RewriteCond % HTTP_USER_AGENT Mobile|Android|Silk/|Kindle|BlackBerry|Opera Mini|Opera Mobi [NC] RewriteRule . ? [E=Cache-Control:vary=% ENV:LSCACHE_VARY_VALUE +ismobile] ### marker MOBILE end ### ### marker CACHE RESOURCE start ### RewriteRule wp-content/. /[^/] (responsive|css|js|dynamic|loader|fonts) .php ? [E=cache-control:max-age=3600] ### marker CACHE RESOURCE end ### Also, you will see that separate mobile cache is activated (attached PNG). I dont think it is the mobile caching that is the issue. i tried to disable caching, and the same problem remains. The problem disappears only when the wordpress litespeed plugin is disabled. Why is litespeed causing a display rendering issue in AMP? if you need to view the production site, please visit: https://ndvlaw.com/covid-19-labor-advisories/?amp=1 https://ibb.co/StmMVgw with litespeed https://ibb.co/bbjGqhm without litespeed https://ibb.co/9Tv1Y7D mobile cache active and separate Please help. Thanks! The page I need help with: https://ndvlaw.com/covid-19-labor-advisories/?amp=1 Hi, Could you please disable cloudflare cache on page first ? it surely interfere with LSCWP and give me hard time to check around and also please provide the report number , you can get it in toolbox -> report -> click send to LiteSpeed Best regards, i already paused cloudflare. Please kindly check now. i am unable to generate report: Failed to request via WordPress: [server] https://api.quic.cloud [service] wp/report interesting issue please create a ticket by mail to support at litespeedtech.com we will investigate it further Thank you for your reply. I figured out the issue and it has nothing to do with litespeed. your plugin is wonderful. i appreciate the response. Thanks!
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference