Hi,
I notice that the like button on my site is conflicting with the cache. The like button is supposed to be updated automatically, but currently I have to clear the cache manually to make the number updated.
Usually I am using terminal and enter this command : sudo webinoly -clear-cache=fastcgi
Is there any way to make the cache clearing to be automatic after a certain time frame? for example each 30 minutes or 60 minutes?
Also on additional note, I am not sure if it is a but or not. But sometimes (rarely) after I clear the cache using that command, I got 502 gateway error when visiting the site. To solve this, I just need to clear the cache 1 more times and that error goes away. Any comment on how this happen or permanent fix to avoid this issue in the future?
Cheers