Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:cache:lscwp:troubleshooting:lazy_load_amp [2019/02/20 14:59]
Lisa Clarke Copyediting
litespeed_wiki:cache:lscwp:troubleshooting:lazy_load_amp [2020/11/14 16:00]
Lisa Clarke Deprecated
Line 1: Line 1:
-====== Lazy Load Breaks AMP Validation ======+====== Lazy Load Breaks AMP Validation ​[DEPRECATED] ​====== 
 +**Please Note: This wiki is no longer valid for modern versions of LiteSpeed Cache for WordPress. Additionally,​ LSCWP documentation has moved to [[https://​docs.litespeedtech.com/​lscache/​lscwp/​|a new location]].** 
 When Lazy Load is enabled in the LiteSpeed Cache plugin for WordPress, it can break AMP validation. ​ When Lazy Load is enabled in the LiteSpeed Cache plugin for WordPress, it can break AMP validation. ​
  
Line 8: Line 10:
  
 Purge the cache. This will disable Lazy Load on all AMP pages. Purge the cache. This will disable Lazy Load on all AMP pages.
 +
 +
 +In some theme , if that code doesn'​t work when inserted in theme'​s ''​functions.php'',​ you can also insert it into ''/​wp-content/​plugins/​amp/​includes/​class-amp-theme-support.php''​
  
 =====Permanent Solution===== =====Permanent Solution=====
  • Admin
  • Last modified: 2020/11/14 16:00
  • by Lisa Clarke