Title: CSS/JS files ERR_ABORTED 404
Last modified: March 10, 2021

---

# CSS/JS files ERR_ABORTED 404

 *  Resolved [staginglab](https://wordpress.org/support/users/miloszfooz/)
 * (@miloszfooz)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/css-js-files-err_aborted-404/)
 * Hi, we have a weird issue on one of our websites, where we’re using litespeed
   cache plugin on LiteSpeed server. It happened many times now, that after purging
   the cache, users get ‘broken’ page preview, with several CSS and JS links from
   litespeed getting 404 (I assume that’s why the page is not loading correctly,
   displaying only part of content without css styles and js)
 * This is how the page should look like [https://tppr.me/YvHBU](https://tppr.me/YvHBU)
   
   This is how the page often look like after cache purge: [https://tppr.me/kVpGv](https://tppr.me/kVpGv)
 * Sometimes even when the homepage is loaded correctly, then any other subpage 
   has this type of error. Naturally, after some time after the purge, the problem
   disappears for some time. Sometimes when I land on this ‘broken’ page and then
   click CTLR+R, the page is loading correctly.
 * I guess it may have something to do with the fact, that once user want to access
   the page with cached js/css file, the files are not there, and it leads to 404
   on these requests.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcss-js-files-err_aborted-404%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/css-js-files-err_aborted-404/#post-14163042)
 * Hi,
 * Please provide the report number , you can get it in toolbox -> report -> click“
   send to LiteSpeed”
 * and is it network ? or individual WP ?
 * Best regards,
 *  Thread Starter [staginglab](https://wordpress.org/support/users/miloszfooz/)
 * (@miloszfooz)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/css-js-files-err_aborted-404/#post-14163688)
 * Hi,
 * Report number: IYMTNJGS
 * Not sure what you meant by network? We host production and staging instance on
   AWS litespeed servers (both being WordPress sites)
 * If you need more detailed information, please let me know
 * Thanks
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/css-js-files-err_aborted-404/#post-14169024)
 * Hi,
 * please try this
 * edit file `/usr/local/lsws/conf/httpd_config.conf` , find a line
 * `maxStaleAge` , set this value to 0 , restart OLS
 * then go to your wp-admin , do a purge all
 * then check if you see anything inside of directory `/usr/local/lsws/cachedata/`,
   delete it whatever you see in it.
 * after that , go to wp-admin and purge all again , and restart OLS again , then
   see if this happens again
 * Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘CSS/JS files ERR_ABORTED 404’ 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

 * [Purge](https://wordpress.org/support/topic-tag/purge/)

 * 3 replies
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/css-js-files-err_aborted-404/#post-14169024)
 * Status: resolved