• Resolved iheggaton

    (@iheggaton)


    As per https://www.ads-software.com/support/topic/css-and-js-missing/

    I too am getting 404’s on CSS. It appears that the site is generating a new minified CSS file but the cache isn’t aware of the file creation; still references the old minified CSS file and this results in a 404.

    I’ve not confirmed it yet as I don’t keep track of what filenames are being created but that’s my best guess.

    I’ve been trying any number of settings changes but nothing is working so far.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter iheggaton

    (@iheggaton)

    Hello?

    I have the same 404’s on CSS files, combined css files and css loading problems. I rolled back to version 3.6.4 because the current version didn’t fix it.

    Plugin Support qtwrk

    (@qtwrk)

    yeah … this is weird issue

    we are struggling to find a way to reproduce the issue , without reproducing it first, it’s very hard to investigate and debug

    do you have any pattern , hint , way to trigger the issue ?

    like if you did change something , or edit a post , any action you have done during that period ?

    Thread Starter iheggaton

    (@iheggaton)

    Not at this stage. I’ll revert my staging environment to the state that it was breaking. And perform some tests.

    One thing that may help is I’ve now got 2 sites and both are running Elementor.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    if it’s possible, please:

    download https://www.litespeedshare.net/2021/08/92db40-debug.zip

    this package contains 3 modified files with more debug log enabled, for v4.3 version only

    please replace them into /wp-content/plugins/litespeed-cache/src/ to override exsiting ones

    now edit wp-config.php

    find line

    define('WP_DEBUG', false);

    add ; in front it to comment it out , then add

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY',false);

    after it

    and then go to wp-admin -> LSCWP -> toolbox -> debug setting

    set debug log to admin IP only and add your IP in below box

    in “Debug URI Excludes” field ,add

    admin
    ajax

    into it , save and purge all

    and then wait for it happens again

    once it happens , please send /wp-content/debug.log and PHP error log (typically located /public_html/error_log on cPanel) to support at litespeedtech.com with reference link to this topic

    Best regards,

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    there is a patch for combined files 404 error in v4.4-rc4 , please upgrade to it and see how it goes

    you can get it in toolbox -> beta test -> click “dev” and upgrade

    Best regards,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Broken CSS 404 – LS Cache is referencing old file’ is closed to new replies.