Support » Plugin: LiteSpeed Cache » Pls help needed on CSS/JS

  • Resolved osaze

    (@osaze)


    Hello LiteSpeed Cache, Please, when I clear all caches, my previous CSS/JS links return 404. Instead of the file name changing when I clear cache, how can I make it change query only and still use the old file name example: (?188a88a) added to filename and change that when the cache is cleared but still the same old filename. Thanks

    I make use of NGINX not Apcache.

    • This topic was modified 1 year, 1 month ago by osaze.
Viewing 15 replies - 1 through 15 (of 17 total)
  • Hi,

    Since you say you make use of NGINX, I need you to clarify whether you’re using LSCache Plugin for WordPress and if you do, how it is deployed. Then, I’d need further clarification of your issue with specific examples.

    Thank you.

    Thread Starter osaze

    (@osaze)

    Okay, yes I make use of the plugin, I clear cache by clicking Purge all

    Thread Starter osaze

    (@osaze)

    Or just give me the add_action code to stop the filename from changing, So it be the query that will change when I purge all, so I can set a default file name, for example, blog.css, blog.js with only query change when I purge all cache. Thanks, because, this alone is causing a lot of issues on search console. Thanks, I will be waiting for the code or guide.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    please provide the report number , you can get it in toolbox -> report -> click “send to LiteSpeed”

    Best regards,

    Thread Starter osaze

    (@osaze)

    Report number: EMMRQOGT

    Report date: 04/30/2021 23:02:55

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    now please do a purge all , I will check the file name

    Best regards,

    Thread Starter osaze

    (@osaze)

    Done, sorry for the late reply. nothing changed, but at times the file name completely change, and the old URLs becomes 404.

    • This reply was modified 1 year, 1 month ago by osaze.
    Plugin Support qtwrk

    (@qtwrk)

    hmmmm???

    it shows same JS/CSS before and after

    a0b4c.js?xxxxx and ad246.css?xxxxx

    Thread Starter osaze

    (@osaze)

    at times, it changes completely.

    Thread Starter osaze

    (@osaze)

    the filename few days ago was 0a068.css

    • This reply was modified 1 year, 1 month ago by osaze.
    Thread Starter osaze

    (@osaze)

    This is Google’s cache of example.com. It is a snapshot of the page as it appeared on 28 Apr 2021 01:25:25 GMT. the css/js are 404 now, u can do site: on google and see for your self. Thanks

    • This reply was modified 1 year, 1 month ago by osaze.
    Plugin Support qtwrk

    (@qtwrk)

    where I can see that google cache ?

    Thread Starter osaze

    (@osaze)

    Plugin Support qtwrk

    (@qtwrk)

    Did you change some content of CSS or JS ?

    Thread Starter osaze

    (@osaze)

    Not sure, maybe, maybe not. I make use of custom CSS in the customizer admin panel.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Pls help needed on CSS/JS’ is closed to new replies.