Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/duncanmcclean/static-cache-manager
Clear your site's static cache from the Control Panel.
https://github.com/duncanmcclean/static-cache-manager
hacktoberfest statamic statamic-addon statamic-v3 static-caching
Last synced: 24 days ago
JSON representation
Clear your site's static cache from the Control Panel.
- Host: GitHub
- URL: https://github.com/duncanmcclean/static-cache-manager
- Owner: duncanmcclean
- License: mit
- Created: 2021-03-25T21:00:30.000Z (over 3 years ago)
- Default Branch: 4.x
- Last Pushed: 2024-08-23T17:30:24.000Z (2 months ago)
- Last Synced: 2024-09-23T19:47:26.659Z (about 1 month ago)
- Topics: hacktoberfest, statamic, statamic-addon, statamic-v3, static-caching
- Language: PHP
- Homepage: https://statamic.com/addons/duncanmcclean/static-cache-manager
- Size: 365 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Static Cache Manager
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.## Installation
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.
## Documentation
### Usage
1. Go to Utilities in the Statamic CP
2. Click on 'Static Cache Manager'
3. Enter in the paths you'd like to clear and click 'Clear' (you may provide wildcards: eg. `/news/2022/*`)
4. Hey presto! Static caching paths have been cleared.## Support
If you find a bug, have some question or have a feature request, please open a [GitHub Issue or Discussion](https://github.com/duncanmcclean/static-cache-manager/issues/new/choose).
> Please note: only the latest version of this addon is supported. Any bug reports regarding an old version will be closed.
## Contributing
Contributions are welcome, and are accepted via pull requests. You should follow this process when contributing:
1. Fork the repository
2. Make your code change
3. Open a pull request, detailing the changes you've made.
4. 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.
## Security
If you've found a bug regarding security please email [email protected] instead of using the issue tracker.