X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=doc%2Fmd%2FTroubleshooting.md;fp=doc%2Fmd%2FTroubleshooting.md;h=e1ed5e0006ce9368f1d3fb21cda23b62d4850c6f;hb=78f319fa6b9a2824bdc8becc88c365455b1a1aa6;hp=f0cf4e9746833777f48a30c29c94d769b2dc4ea8;hpb=6c4cae378e87b43a793cd91a87dc1952106107f7;p=github%2Fshaarli%2FShaarli.git diff --git a/doc/md/Troubleshooting.md b/doc/md/Troubleshooting.md index f0cf4e97..e1ed5e00 100644 --- a/doc/md/Troubleshooting.md +++ b/doc/md/Troubleshooting.md @@ -176,6 +176,16 @@ Under Opera, you can't drag'n drop the button: You have to right-click on it and - A new date/time field becomes available in the edit/new Shaare dialog. - You can set the timestamp manually by entering it in the format `YYYMMDD_HHMMS`. +### Clearing Shaarli caches + +For debugging purposes: + +```bash +# clear raintpl cache and temporary files +find /var/www/links/cache/ /var/www/links/pagecache/ /var/www/links/tmp/ -type f -exec rm -v '{}' \; +# if you have a php accelerator such as php-apcu, restart the webserver +sudo systemctl restart apache2 +``` -------------------------------------------------------