Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.