Title: 404 Errors for Javascripts
Last modified: April 13, 2022

---

# 404 Errors for Javascripts

 *  Resolved [Muhammad Junaid](https://wordpress.org/support/users/mj00712/)
 * (@mj00712)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/404-errors-for-javascripts/)
 * Hi. I am getting 404 Errors for Javascript in Chrome Developer Tools. How can
   I fix this?
    You can check the [Screenshot](https://snipboard.io/FyglK3.jpg)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2F404-errors-for-javascripts%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 31 total)

1 [2](https://wordpress.org/support/topic/404-errors-for-javascripts/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/404-errors-for-javascripts/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/404-errors-for-javascripts/page/2/?output_format=md)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/404-errors-for-javascripts/#post-15556309)
 * Hi,
 * first of all please disable cloudflare page and rocket loader , purge all CF 
   cache and also the LiteSpeed Cache
 * Best regards,
 *  Thread Starter [Muhammad Junaid](https://wordpress.org/support/users/mj00712/)
 * (@mj00712)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/404-errors-for-javascripts/#post-15557157)
 * I have disabled rocket loader, purged all caches CF and litespeed cache. I want
   to use page rules to reduce TTFB. Also, Is rocket loader compatible with litespeed?
   Now I am getting different errors in chrome developer tool. [Screenshot](https://snipboard.io/EaZdTm.jpg)
   is given.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/404-errors-for-javascripts/#post-15558650)
 * CF **page cache** and JS/CSS combine/minify are not compatible , sooner or later
   you will hit 404 error on JS/CSS file if you enable them both at same time.
 * which page is that ? didn’t see on my dev tool
    -  This reply was modified 4 years, 1 month ago by [qtwrk](https://wordpress.org/support/users/qtwrk/).
 *  Thread Starter [Muhammad Junaid](https://wordpress.org/support/users/mj00712/)
 * (@mj00712)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/404-errors-for-javascripts/#post-15558746)
 * By Cloudflare Page Cache you mean Cloudflare Page Rule for Cache Everything? 
   If I disable Combine/Minify for JSS/CSS File but don’t disable the Page Rule 
   Rule. I won’t get the error? Or do I have to disable the page rule as well as
   combine/minify by CF?
 *  Thread Starter [Muhammad Junaid](https://wordpress.org/support/users/mj00712/)
 * (@mj00712)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/404-errors-for-javascripts/#post-15559078)
 * By JS/CSS combine/minify you mean combine/minify in [Cloudflare](https://snipboard.io/AqTEpd.jpg)
   or Litespeed?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/404-errors-for-javascripts/#post-15559374)
 * Hi,
 * yes , cache everything will cache the page as well , which is something that 
   doesn’t work nicely with LSCWP’s JS/CSS minify/combine
 * yes , you should either disable cache everything or disable JS/CSS combine/minify
   in LSCWP setting
 * best regards,
 *  Thread Starter [Muhammad Junaid](https://wordpress.org/support/users/mj00712/)
 * (@mj00712)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/404-errors-for-javascripts/#post-15559399)
 * So, I have disabled JSS/CSS Combine by Litespeed cache. I have enabled it in 
   Cloudflare. Can I use Javascript defer by Litespeed? Will it have any effect 
   on AdSense? If I don’t use it. Can I enable the rocket loader by Cloudflare?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/404-errors-for-javascripts/#post-15559413)
 * I can not be sure what or how will CF cache and rocket loader will be affecting
   on this matter
 *  Thread Starter [Muhammad Junaid](https://wordpress.org/support/users/mj00712/)
 * (@mj00712)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/404-errors-for-javascripts/#post-15559424)
 * And What about Javascript defer by Litespeed. Will it have any effect on Adsense
   Ads? If I don’t use Cloudflare cache everything? What can I do to cache HTML 
   and what are the recommended settings for CSS and Javascript that do not affect
   Adsense ads?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/404-errors-for-javascripts/#post-15559436)
 * if I am reading it correctly , your webserver is not running on LiteSpeed webserver,
   but that means the plugin won’t be able to cache the page
 * that leave you the only option is to use the cloudflare cache to cache the page,
   and you will need to disable these options
 * the defer part should work even with CF cache , but rocket loader is actually
   doing the similar thing
 *  Thread Starter [Muhammad Junaid](https://wordpress.org/support/users/mj00712/)
 * (@mj00712)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/404-errors-for-javascripts/#post-15559487)
 * Thanks for clarifying.
 *  Thread Starter [Muhammad Junaid](https://wordpress.org/support/users/mj00712/)
 * (@mj00712)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/404-errors-for-javascripts/#post-15562439)
 * I am still getting these errors in the google chrome developer tool.
    [https://snipboard.io/WMI8OE.jpg](https://snipboard.io/WMI8OE.jpg)
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/404-errors-for-javascripts/#post-15562445)
 * you need to disable guest mode , purge cloudflare cahce first
 * and which page is that ?
 *  Thread Starter [Muhammad Junaid](https://wordpress.org/support/users/mj00712/)
 * (@mj00712)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/404-errors-for-javascripts/#post-15562459)
 * this [Page](https://filectory.com). I have disabled guest mode and cleared CF
   cache and Litespeed cache.
 *  Thread Starter [Muhammad Junaid](https://wordpress.org/support/users/mj00712/)
 * (@mj00712)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/404-errors-for-javascripts/#post-15563759)
 * Should I keep the guest mode off? Due to it, the page speed scores have dropped
   but the errors are resolved.

Viewing 15 replies - 1 through 15 (of 31 total)

1 [2](https://wordpress.org/support/topic/404-errors-for-javascripts/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/404-errors-for-javascripts/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/404-errors-for-javascripts/page/2/?output_format=md)

The topic ‘404 Errors for Javascripts’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

## Tags

 * ["js error"](https://wordpress.org/support/topic-tag/js-error/)

 * 31 replies
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/404-errors-for-javascripts/page/3/#post-15589344)
 * Status: resolved