Invalid AMP due to Custom JS is not allowed




Wordpress LScache Plugin: Invalid AMP due to Custom JS is not allowed

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi Litespeed Support, I got an issue with invalid AMP pages. I used AMP plugin by AMP Project Contributors. When I tried to validate the AMP pages, I got an error with Custom JS is not allowed. This JS code below that causing the error. Wondering if this JS code from Litespeed plugin? If yes, could you help me to fix the error? Thanks, Amrilio !function(t,e) object ==typeof exports&& undefined !=typeof module?module.exports=e(): function ==typeof define&&define.amd?define(e):(t=undefined !=typeof globalThis?globalThis:t||self).LazyLoad=e() (this,function() use strict function e() return(e=Object.assign||function(t) for(var e=1 e



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



Reference