How to prevent LiteSpeed caching a section of inline JS




Wordpress LScache Plugin: How to prevent LiteSpeed caching a section of inline JS

Last Updated on: Wed, 15 Apr 2026 00:00:02
I am trying to prevent caching the following section of inline javascript that appears on https://mrsecuritysystems.com.au/dahua-cctv/ function bigImg(x) x.src=/wp-content/uploads/custom/youtube-off.jpg function clickImg(x) window.open( https://www.youtube.com/embed/Tp2hK30IFWY?rel=0 ) function normalImg(x) x.src=/wp-content/uploads/custom/youtube-on.jpg I assume that it goes in the tuning section but cannot get the syntax to work. Assistance would be appreciated. The page I need help with: https://mrsecuritysystems.com.au/dahua-cctv/ Hi, the cache is per page , so you cant just set a certain part/block/section of page to be no-cache technically , you can , but it requires certain code work please check this page Best regards,



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



Reference