WebP images at AMP Pages with OLSP




Wordpress LScache Plugin: WebP images at AMP Pages with OLSP

Last Updated on: Wed, 15 Apr 2026 00:00:02
I try 2 plugins: AMP and AMPforWP. Images not replaced to webp version. WebP Attribute To Replace ? here i add amp-img.src, nothing change. Can you provide solution how to fix it? I found fix for old version of plugin: https://wordpress.org/support/topic/webp-for-amp-and-wpforo/, but its not work with latest litespeed cache plugin Hi, I tested this one https://wordpress.org/plugins/amp/ CDN WEBP on AMP page works as intended, with default src , no additional setting https://i.imgur.com/4ZT7NtW.png You may need to enable debug log to see what happens Best regards, 08/01/20 13:19:09.616 [141.101.69.44:55896 1 PwN] ------GET HTTP/1.1 (HTTPS) /rebuild/amp/ 08/01/20 13:19:09.616 [141.101.69.44:55896 1 PwN] Query String: 08/01/20 13:19:09.616 [141.101.69.44:55896 1 PwN] Cookie _lscache_vary: admin_bar:1 logged-in:1 role:99 08/01/20 13:19:09.616 [141.101.69.44:55896 1 PwN] LSCACHE_VARY_COOKIE: wp-postpass_2979e38ce669ba5cb942e59c5713e70b 08/01/20 13:19:09.616 [141.101.69.44:55896 1 PwN] LSCACHE_VARY_VALUE: +webp 08/01/20 13:19:09.647 [141.101.69.44:55896 1 PwN] [Ctrl] X Cache_control -> private ( logged in user ) 08/01/20 13:19:09.844 [162.158.94.91:10556 1 jFj] ------POST HTTP/1.1 (HTTPS) /wp-cron.php 08/01/20 13:19:09.844 [162.158.94.91:10556 1 jFj] Query String: doing_wp_cron=1596277149.6822459697723388671875 08/01/20 13:19:09.844 [162.158.94.91:10556 1 jFj] HTTP_REFERER: https://site.com/wp-cron.php?doing_wp_cron=1596277149.6822459697723388671875 08/01/20 13:19:09.844 [162.158.94.91:10556 1 jFj] LSCACHE_VARY_COOKIE: wp-postpass_2979e38ce669ba5cb942e59c5713e70b 08/01/20 13:19:09.916 [162.158.94.91:10556 1 jFj] [Router] get_role: 08/01/20 13:19:09.936 [162.158.94.91:10556 1 jFj] [Img_Optm] allowance_max 200 wet_limit 08/01/20 13:19:09.936 [162.158.94.91:10556 1 jFj] [Img_Optm] preparing images to push 08/01/20 13:19:09.937 [162.158.94.91:10556 1 jFj] [Img_Optm] need gather due to no new raw image found 08/01/20 13:19:09.940 [162.158.94.91:10556 1 jFj] [Img_Optm] gather_images bypass: no new image found 08/01/20 13:19:09.952 [162.158.94.91:10556 1 jFj] [Img_Optm] cron_pull running 08/01/20 13:19:09.952 [162.158.94.91:10556 1 jFj] [Img_Optm] no need pull [tag] 9 08/01/20 13:19:09.952 [162.158.94.91:10556 1 jFj] [Ctrl] not cacheable before ctrl finalize 08/01/20 13:19:09.952 [162.158.94.91:10556 1 jFj] [Router] get_role: 08/01/20 13:19:09.952 [162.158.94.91:10556 1 jFj] [Vary] role id: failed, guest 08/01/20 13:19:09.952 [162.158.94.91:10556 1 jFj] [Router] get_role: 08/01/20 13:19:09.952 [162.158.94.91:10556 1 jFj] [Router] get_role: 08/01/20 13:19:09.953 [162.158.94.91:10556 1 jFj] X-LiteSpeed-Cache-Control: no-cache 08/01/20 13:19:09.953 [162.158.94.91:10556 1 jFj] [Optm] bypass: Not frontend HTML type 08/01/20 13:19:09.953 [162.158.94.91:10556 1 jFj] End responseExpand Hi, the log is incomplete there should be more string of tag PwN after that Best regards, Hi, Im going to mark this topic Resolved , due to lack of activity. If you still need help, please feel free to re-open it. Best regards,



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference