When i created my site i used this command
sudo ee site create example.com --wpredis
it worked fine but i want to minify my css and html so what i did yesterday i
i ran this code
ee site update example.com --wp --w3tc
so this code removed the wordpress redis cache and installed w3 total cache
when i click on Purge All Cache my site was briked it says that
error establishing database connection
I checked wp-config.php and every thing is fine, so what i did is i reboot my digitalocean droplet and my website started working again.
But i dont know the extact time. every 18 to 24 it shows that
error establishing database connection so i need to reboot my droplet to start working again.
Any one expert here please help me to solve this issue.. please