petersconsult
Verified User
- Joined
- Sep 10, 2021
- Messages
- 65
Hi all,
i have a small issue that's really annoying me..
There are several client domains where it's just straight-up php: no CMS, no control panel, etc.. Just pure homegrown php..
In those cases, when i edit a given file, i have to wait several minutes for the changes to be taken into account by LiteSpeed (Enterprise version)..
The only way i've found to flush this cache is to run:
./build rewrite_confs
i've tried the 'official' solution of emptying or even deleting the 'lscache' folder that resides in /home/USER/lscache
i've also tried simply restarting LiteSpeed, both from ssh and from the admin panel..
However, neither of these works..
The problem is that running rewrite_confs involves restarting the LiteSpeed server, which means every single website goes down, which is terribly problematic..
Of course, i could wait 5 minutes for the changes to appear, but who in the world has 5 minutes?
So, if anyone know a way to refresh the LiteSpeed php cache without having to restart LiteSpeed -- and, ideally, without purging all the other website caches -- i'd be very grateful for your advice!
i have a small issue that's really annoying me..
There are several client domains where it's just straight-up php: no CMS, no control panel, etc.. Just pure homegrown php..
In those cases, when i edit a given file, i have to wait several minutes for the changes to be taken into account by LiteSpeed (Enterprise version)..
The only way i've found to flush this cache is to run:
./build rewrite_confs
i've tried the 'official' solution of emptying or even deleting the 'lscache' folder that resides in /home/USER/lscache
i've also tried simply restarting LiteSpeed, both from ssh and from the admin panel..
However, neither of these works..
The problem is that running rewrite_confs involves restarting the LiteSpeed server, which means every single website goes down, which is terribly problematic..
Of course, i could wait 5 minutes for the changes to appear, but who in the world has 5 minutes?
So, if anyone know a way to refresh the LiteSpeed php cache without having to restart LiteSpeed -- and, ideally, without purging all the other website caches -- i'd be very grateful for your advice!