Deleting the Kirby Page Cache After Deploying with DeployHQ

I deploy this site (which runs on Kirby, in case you didn’t know) via DeployHQ and it has proven super helpful. I’m really happy with the setup, since I didn’t want to move hosting, due to more than just one reason. To make sure all the chang…


This content originally appeared on foobartel.com :: Stream and was authored by foobartel.com :: Stream

I deploy this site (which runs on Kirby, in case you didn't know) via DeployHQ and it has proven super helpful. I'm really happy with the setup, since I didn't want to move hosting, due to more than just one reason.

To make sure all the changes after each deploy appear on the site immediately, I run this short SSH command after each an every update to the site, which deletes the complete “pages” cache, leaving other caches, e.g. from plugins, intact.

rm -rf /path_to_kirby_installation/site/cache/domainname.tld/pages

This way I can be sure that all updates are visible on the site right away and no outdated pages are served.


This content originally appeared on foobartel.com :: Stream and was authored by foobartel.com :: Stream


Print Share Comment Cite Upload Translate Updates
APA

foobartel.com :: Stream | Sciencx (2021-10-06T22:00:00+00:00) Deleting the Kirby Page Cache After Deploying with DeployHQ. Retrieved from https://www.scien.cx/2021/10/06/deleting-the-kirby-page-cache-after-deploying-with-deployhq/

MLA
" » Deleting the Kirby Page Cache After Deploying with DeployHQ." foobartel.com :: Stream | Sciencx - Wednesday October 6, 2021, https://www.scien.cx/2021/10/06/deleting-the-kirby-page-cache-after-deploying-with-deployhq/
HARVARD
foobartel.com :: Stream | Sciencx Wednesday October 6, 2021 » Deleting the Kirby Page Cache After Deploying with DeployHQ., viewed ,<https://www.scien.cx/2021/10/06/deleting-the-kirby-page-cache-after-deploying-with-deployhq/>
VANCOUVER
foobartel.com :: Stream | Sciencx - » Deleting the Kirby Page Cache After Deploying with DeployHQ. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/10/06/deleting-the-kirby-page-cache-after-deploying-with-deployhq/
CHICAGO
" » Deleting the Kirby Page Cache After Deploying with DeployHQ." foobartel.com :: Stream | Sciencx - Accessed . https://www.scien.cx/2021/10/06/deleting-the-kirby-page-cache-after-deploying-with-deployhq/
IEEE
" » Deleting the Kirby Page Cache After Deploying with DeployHQ." foobartel.com :: Stream | Sciencx [Online]. Available: https://www.scien.cx/2021/10/06/deleting-the-kirby-page-cache-after-deploying-with-deployhq/. [Accessed: ]
rf:citation
» Deleting the Kirby Page Cache After Deploying with DeployHQ | foobartel.com :: Stream | Sciencx | https://www.scien.cx/2021/10/06/deleting-the-kirby-page-cache-after-deploying-with-deployhq/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.