Automated cache clear after gitsync

Hey guys,

short question: is their a way to clear the cache after Git synced files automatically?

best regards

Hi @yFStein, I’ve used Git Sync on sites with cache enabled and from what I remember updated pages refresh the cache automatically - what is the behavior you are looking for?

Hi @paulhibbitts,

thats what i’m looking for. I already got a working Git Sync but its not clearing the cache of the site. :confused: I need to manually click the clear cache button.

Hmm… well one option might be to use the Scheduler (in the Admin Panel) to periodically run a clear cache command? https://learn.getgrav.org/16/advanced/scheduler