Hey guys,
short question: is their a way to clear the cache after Git synced files automatically?
best regards
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Solved by Paul Hibbitts View solution
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. 😕 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
Log in to reply.
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 2 | 104 | 18 hours ago | ||
| 1 | 88 | 22 hours ago | ||
| 0 | 53 | 1 day ago | ||
| 6 | 381 | 5 days ago | ||
| 3 | 69 | 6 days ago |