Plugin Support
qtwrk
(@qtwrk)
Hi,
These files are generated when you enable JS|CSS combine/minify
Best regards,
hi, any idea how to fix this?
DevTools failed to load SourceMap: Could not load content for https://MYSITE/wp-content/litespeed/cssjs/swiper.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
the missing file can be found here: https://github.com/nolimits4web/swiper/blob/master/package/js/swiper.min.js.map
but since I don’t have any /wp-content/litespeed but /wp-content/litespeed-cache folder
should I create this path “/wp-content/litespeed/cssjs/” and add swiper.min.js.map in it?
Plugin Support
qtwrk
(@qtwrk)
Hi,
Could you please try add swiper.min.js in to JS excluding list , purge all , and see how it goes ?
Best regards,
I have a similar problem. Some js.map give us a 404 on loading. How to fix them? Exclude them is not a real fix π
I just have this exact same issue… how to fix it?
DevTools failed to load SourceMap: Could not load content for https://mywebsite.com/wp-content/litespeed/cssjs/bootstrap.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Thank you.
-
This reply was modified 4 years, 8 months ago by
aldinlapinig.
Hello,
I’ve got exactly the same issue as pustiu314p
DevTools failed to load SourceMap: Could not load content for https://website/wp-content/litespeed/cssjs/swiper.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
What should i do to fix it?
I use litespeed ver. 3.5.0.2 and WP 5.5.1 + Woocommerce
Thank you.
-
This reply was modified 4 years, 7 months ago by
bohosto4e.
Plugin Support
qtwrk
(@qtwrk)
I disabled all caching, cleared everything I can, however I still get my pages to request files from wp-content/litespeed/cssjs/
as a result I’m getting broken pages.
Is there any way to fix that?
I am getting reports on gtmetrix and pagespeeds about wp-content/litespeed/cssjs/ – I purged, even deleted Litespeed cache and still?
I can’t even find /litespeed/ on filemanager so what gives? how can I get rid of this please?
“itβs normal , safely to ignore”
Today I got an email from Google that they reject my productfeed voor google advertising because of these 404 errors DevTools failed to load SourceMap!
In my case it looks like it’s not safely to ignore!
Hi,
I have the same issue as @bborne , Google ejected me from Google Ads because of that.
I’m loosing business π
I have the same issues as the guys above. Seems like my CDN cannot cache these files and therefore an error is seen. PLease tell us how to cache these files if removing them is not possible.
1 year and 3 month passed… Any update?
How to fix it? DevTools failed to load source map: Could not load content for https://xxxxxxxxxxxxxx/wp-content/litespeed/cssjs/lazyload.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
-
This reply was modified 3 years, 10 months ago by
advertino.
Plugin Support
qtwrk
(@qtwrk)
@advertino
There is nothing to fix on this case, the Dev tool is trying to load the resources map for a minified JS or CSS file, so that it may be unminified for debug purpose, And obviously , this file doesn’t exist, so it returns a 404 error.
CSS MAP file is only used to map CSS to SCSS file format, in a sense while debugging your code from dev-tools you can look at the CSS in a more organised manner instead of clutter.
Therefore map file has no actual use for your code, so you can safely delete the file. To remove the linking of the map file from the CSS or JS file, just delete the last comment of the respective file.
If you are using the bootstrap CDN link it is hight recommended to download and use it offline. It even increases your website performance.