Static Cache Manager is a simple Control Panel utility to clear specific paths in your site's static cache.
Note
This addon only works when using full-measure static caching.
First, require Static Cache Manager as a Composer dependency:
composer require duncanmcclean/static-cache-manager
And that's you done! The utility should now show in the Control Panel.
- Go to Utilities in the Statamic CP
- Click on 'Static Cache Manager'
- Enter in the paths you'd like to clear and click 'Clear' (you may provide wildcards: eg.
/news/2022/*
) - Hey presto! Static caching paths have been cleared.
If you find a bug, have some question or have a feature request, please open a GitHub Issue or Discussion.
Please note: only the latest version of this addon is supported. Any bug reports regarding an old version will be closed.
Contributions are welcome, and are accepted via pull requests. You should follow this process when contributing:
- Fork the repository
- Make your code change
- Open a pull request, detailing the changes you've made.
- Ensure StyleCI isn't reporting any code-style errors. If it is, you should resolve those.
If your pull request is a Work in Progress, please mark your pull request as a draft.
If you've found a bug regarding security please email [email protected] instead of using the issue tracker.