Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atomicptr/typo3-staticfilecache-cleaner
A tool to clean static file caches for TYPO3.
https://github.com/atomicptr/typo3-staticfilecache-cleaner
go golang nginx staticfilecache typo3 typo3-tools
Last synced: about 2 months ago
JSON representation
A tool to clean static file caches for TYPO3.
- Host: GitHub
- URL: https://github.com/atomicptr/typo3-staticfilecache-cleaner
- Owner: atomicptr
- License: mit
- Created: 2020-04-11T13:36:37.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-25T14:07:53.000Z (almost 4 years ago)
- Last Synced: 2023-03-17T12:15:34.574Z (almost 2 years ago)
- Topics: go, golang, nginx, staticfilecache, typo3, typo3-tools
- Language: Go
- Homepage:
- Size: 37.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# typo3-staticfilecache-cleaner
A tool to clean static file caches for TYPO3.
## Why
If you're using the TYPO3 extension [staticfilecache](https://github.com/lochmueller/staticfilecache) with Nginx, you
can't rely on the generated .htaccess file to lead requests back to TYPO3 (when the cache has expired).
This tool removes them after they've been expired.## Usage
```bash
$ typo3-staticfilecache-cleaner /var/www/html/typo3temp/tx_staticfilecache --dry-run
```### With Docker
```bash
$ docker run --rm -v /var/www/html/typo3temp/tx_staticfilecache:/data atomicptr/typo3-staticfilecache-cleaner
```## License
MIT