Wordpress LScache Plugin: Localize ressource throw error 404
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hello, When I set Localize ressource to ON, every .js script throw 404 Error in the google console : GET https://mydomain.com/wp-content/litespeed/localres/myfile.js net::ERR_ABORTED 404. I tried to go to mydomain.com/wp-content/litespeed/localres/myfile.js but i have a 404 Error as well. My rapport number is : YZWFBGHU Hi, Do you have .htaccess inside of wp-content ? Best regards, Hello, No, i dont have .htaccess inside wp-content. Hi, Please check that : 1. if 404 page shows wordpress 404 page or webservers default 404 page ? 2. I need a full path of 404 URL , you can mask the domain , which I can find from report number Best regards, Hello, 1. The 404 page that is shown is a wordpress page. 2. If you want to check the page, you can go to this URL : mydomain.com/wp-content/litespeed/localres/unpkg.com/headroom.js@latest/dist/headroom.min.js Thank you ! please try use https://unpkg.com/headroom.js@0.12.0/dist/headroom.js and see how it goes This script doesnt work either. Headroom was just an example of a file that didnt work. But the issue is on every scripts. Litespeed rewrite and replace all links by ../localres/... but I think the problem is that Litespeed cannot create or display the virtual script for some unknown reason (server, plugin, htaccess, etc.) ? Hi please create a ticket by mail to support at litespeedtech.com we will investigate it further Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference