Litespeed is generating Optimized files for invalid urls




Wordpress LScache Plugin: Litespeed is generating Optimized files for invalid urls


Hi, I have turned on-page optimization and generated critical and unique CSS for my website. The problem is LiteSpeed generates optimized files even for URLs that dont exist. A customer entered a wrong URL that let him to 404 but Litespeed will still generate optimized files for it. Can we somehow generate these files for only valid URLs? I guess this happens because 404 and all other != 200 pages are also cached. Try to reduce TTL for error pages to -1 or 1. Not tested, but should help.
Do you need help?
We are online almost any time and ready to answer any question. The answer to your question will come faster than it takes you to release the mouse button.

Ask A Question