• Resolved eurologon

    (@eurologon)


    Hi Support,
    We noticed that the cache in lsws/cachedata/priv takes up a lot of space, even if we have inserted a TT of 1 or 2 days.

    This is our report number: Last Report Number: CGHKZKTV

    Thanks a lot

    • This topic was modified 12 months ago by eurologon.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support litetim

    (@litetim)

    @eurologon
    I am sorry for you problem.

    Looking over the settings I see you have this setting on: https://docs.litespeedtech.com/lscache/lscwp/pageopt/#js-combine-external-and-inline
    Is your folder: public_html/wp-content/litespeed/js big in size too?

    Thread Starter eurologon

    (@eurologon)

    Hi,
    the size is 24MB.
    I have to turn off the “js-combine-external-and-inline” option?
    Thanks.

    Plugin Support litetim

    (@litetim)

    @eurologon Folder: sws/cachedata/priv which is the biggest size folder?

    Thread Starter eurologon

    (@eurologon)

    24G priv
    Inside “priv” they are all 1.5GB

    Plugin Support qtwrk

    (@qtwrk)

    this usually happens becomes of 2 things , or combine of these 2 things

    1. some bot scrape over your sites very aggressively
    2. your site has a lot of query strings , for example /prodotti/basi/?c=basi-complete;basi-speciali there will be literally millions of different combination of these query strings that each will generate one cache file , so in total , sum up a lot of spaces

    to address this , I’d suggest to check the access log , if there is such query string being access, suggest to set them to no-cache

    or if it was bot to scraping the site , suggest to either block them or mark as no-cache

    or simplest way , set up a system cron job to periodically check the size and empty the lscache directory if needed

    more detail: https://docs.litespeedtech.com/lscache/lscwp/troubleshoot/#lscache-directory-too-big

    Thread Starter eurologon

    (@eurologon)

    Thank you very much for your suggestion. We have set up a script to empty the lscache directory

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

The topic ‘huge lsw cache’ is closed to new replies.