Download the PHP package mitydigital/statamic-scheduled-cache-invalidator without Composer
On this page you can find all versions of the php package mitydigital/statamic-scheduled-cache-invalidator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mitydigital/statamic-scheduled-cache-invalidator
More information about mitydigital/statamic-scheduled-cache-invalidator
Files in mitydigital/statamic-scheduled-cache-invalidator
Package statamic-scheduled-cache-invalidator
Short Description A command to help invalidate the cache when scheduled Statamic entries are due to go live.
License MIT
Informations about the package statamic-scheduled-cache-invalidator
Scheduled Cache Invalidator for Statamic
A command to help invalidate the static cache when scheduled entries are due to go live.
What is it?
Let's say you have a Blog, and your Statamic site uses full (or half) Static Caching.
Now, imagine you have written a blog post that you want to go live at midday tomorrow.
What would you prefer to do:
- wait around until midday tomorrow to manually click publish at 12:00 on the dot, or
- publish now, and have this utility take care of flushing the cache for you?
This command is designed to be run every minute, and looks for Entries (in all of your dated Collections) that are scheduled to be published at that minute.
Documentation
See the documentation for detailed installation, configuration and usage instructions.
Testing
Security
Security related issues should be emailed to [email protected] instead of logging an issue.
Support
We love to share work like this, and help the community. However it does take time, effort and work.
The best thing you can do is log an issue.
Please try to be detailed when logging an issue, including a clear description of the problem, steps to reproduce the issue, and any steps you may have tried or taken to overcome the issue too. This is an awesome first step to helping us help you. So be awesome - it'll feel fantastic.
Credits
- Marty Friedel
- Ryan Mitchell for tweaking clearing behaviour to help with entries, adding query scope support, and date/time query corrections following core updates
- Michael Aerni for support of undated collections
- Sylvester Damgaard for correcting an SQL issue