Very heavy cachedata directory size - purging doesn't clear it

#1
I am managing a large WP website (40GB uploads) with OLS and the litespeed cache plugin. Recently I saw that the /../lsws/cachedata directory size is 47GB. Purging cache from the plugin does not do anything.

Two questions:

1. Why is this directory so huge?
2. Is it safe to remove all files and folders within this directory through the shell?
 

LiteCache

Active Member
#2
1. Why is this directory so huge?
It seems you purge the cache manually very often?

I don't know if OLS works like LSWS, but with LSWS the cache directory is automatically cleaned, but the automatic cleaning only works for cache files whose TTL has expired. That means, if you purge the cache manually this automatically cleaning doesn't exist and you must clean the cache dir manually.

2. Is it safe to remove all files and folders within this directory through the shell?
Yes.
 
Last edited:
Top