Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
I have LHC configured over 2 servers some times I get css js php errors (cache/compiledTemplates/* NOT FOUND)
Inspecting the cache/compiledtemplates folder I discovered that files don't stay there much time like 10 seconds, then are deleted that's normal?
Because in my concept if you have a cache folder the main objective is to keep static content not being processed all the time.
I don't know if this is because of the 2 servers hosting, I don't see that behavior outside my production environment.
when disabling
'templatecache' => false,
'templatecompile' => false,
'modulecompile' => false,
the problem seens to go away at least less recurrent
Error that I get bellow :
sorry for bad english(not my native language).
Last edited by leozanutto (2018-07-03 13:35:36)
Offline
Hi,
This is known dependency. Please enable sticky sessions. Because then chat is cleared and it tries to find compiled template from another server. CSS/JS may not be compiled on another server. In AWS environment this is solved by enabling sticky sessions for 5 minutes or so.
Offline
Actually I'm using a shared drive so the 2 servers access the same directory. (sticky sessions already configured)
I'm rewriting some part of the code so the cache generates per server.
Offline