Releases: getkirby/staticache
Releases · getkirby/staticache
1.0.3
1.0.2
1.0.1
🐛 Bug fixes
- Staticache now handles cache values that are set by other plugins (e.g. the Meta plugin by @fabianmichael) more gracefully. #20
📓 Documentation
- Add more information to the
README
on required changes to the server setup for custom roots - The PHP loader example code now also tries to determine the content type from the static files
- Clean up indentation in code examples
1.0.0
🎉 Features
- Support for Kirby 3.8+ #12
- New
headers
mode that caches HTTP response headers as well #7 - The cache directory can now be customized. #4 #10
- The cache comment at the end of the rendered file can be overridden by a string or function.
✨ Enhancements
- The auto-generated HTML comment at the end of the cached file now contains the creation timestamp by default. #8
- New configuration example for Caddy in the
README
🐛 Bug fixes
- Paths of multi-language sites and content representations are now mapped correctly. #2 #11
- The auto-generated HTML comment is only appended to HTML pages.
🚨 Breaking changes
- The cache files are now stored inside
/site/cache/example.com/pages
by default. You can override this with a custom path to keep the old location. #4 - Support for multi-language sites and content representations requires changes to the web server config, see the
README
.
♻️ Refactoring
- Switch from spaces to tabs for indentation
- Add code comments and docblocks
- The
README
was restructured and reworded to be easier to follow.