• Resolved SRD75

    (@srd75)


    Hi Folks,

    No CSS is loading on our product pages.

    The console shows:

    Failed to load resource: the server responded with a status of 404 ()
    /wp-content/litespeed/cssjs/053a1.css:1 Failed to load resource: the server responded with a status of 404 ()
    
    GET https://www.amanoflorals.com.au/wp-content/litespeed/cssjs/c31f6.css net::ERR_ABORTED 404
    /wp-content/litespeed/cssjs/053a1.css:1 
    GET https://www.amanoflorals.com.au/wp-content/litespeed/cssjs/053a1.css net::ERR_ABORTED 404

    Help appreciated.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter SRD75

    (@srd75)

    for some reason it is working now

    Hello,

    I have the same issue happening on multiple websites on multiple servers that I am managing.

    OpenLiteSpeed 1.6.12
    LiteSpeed Cache v3.0.8.5

    The issue:
    Website is requesting css/js files with wrong names that there are on the server. For example the requests in the browser I have are:

    wp-content/litespeed/cssjs/ecca5.js
    Request Method: GET
    Status Code: 404

    wp-content/litespeed/cssjs/16d73.js
    Request Method: GET
    Status Code: 404

    litespeed/cssjs/9652e.css
    Request Method: GET
    Status Code: 404

    But the files on the webserver are:

    ls -ga wp-content/litespeed/cssjs/
    drwxr-xr-x 2 nobody 4096 May 3 08:54 .
    -rw-r–r– 1 nobody 593026 May 3 08:52 00179.css
    -rw-r–r– 1 nobody 662201 May 3 08:52 3bca0.js
    -rw-r–r– 1 nobody 9959 May 3 08:52 54e63.js
    -rw-r–r– 1 nobody 606692 May 3 08:54 81600.css
    -rw-r–r– 1 nobody 664004 May 3 08:54 e0f94.js

    When I purge the caches, new files are created on the webserver, but the browser is still requesting the old ones. The only way I can fix it is to deactivate LS Cache and then gracefully restart the OpenLiteSpeed server (I guess because of the .htaccess changes?).
    This is a problem with the new version of LS Cache, when using version 2.x everything was fine.
    Is this browser cache issue or OpenLiteSpeed limitation?
    It is really frustrating and since I have multiple websites with this setup everything is prone to problems if I update LS Cache plugin. Any help is appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSS not loading on WooCommerce product page’ is closed to new replies.