All notable changes to laravel-responsecache will be documented in this file.
- add support for custom serializers
- make compatible with Laravel 6
- restore laravel 5.7 compatibility
- add support for cache tags
- make json responses cacheable
- use Rfc2822S formatted date in cache time header
- added support for replacers
- you can now swap out
RequestHasherin favor of a custom one CacheAllSuccessfulGetRequestswill only cache responses of which the content type starts withtext- removed deprecated
Flushcommand \Spatie\ResponseCache\ResponseCacheFacadehas been removed- dropped support for carbon v1
- dropped support for PHP 7.2
- make sure the request starts with the app url - fixes #177
- make host specific caches
- fix cache lifetime in config file
- drop support for Laravel 5.7 and lower
- drop support for PHP 7.0 and lower
- change all cache time parameters to seconds (see UPGRADING.md)
- add support for Laravel 5.8
- you can no longer add multiple
CacheResponsemiddleware to one route
- fix for caching urls with query parameters
- fix for forgetting a specific url
- add support for Laravel 5.7
- fix for issue #123
- add support for Lumen
- add
forget
- add support for L5.6
- Added:
clear()method andresponsecache:clearcommand - Deprecated:
flush()method andresponsecache:flushcommand
Deprecated features will still work until the next major version.
- Added: Better exception handling when something goes wrong unserializing the response
- Added: Support for specific lifetimes on routes
- Fixed: Artisan command registration
- Added: Support for Laravel 5.5
- Removed: Support for all older Laravel versions
- Changed: Renamed facade class
- Added: Support for
BinaryFileResponse
- Added: Support for taggable cache
- Fixed: Php version dependency in
composer.json
- Added:
enabledmethod on cache profiles - Added: Events
- Changed: Middleware won't automatically be registered anymore
- Changed: Renamed config file
- Changed: Renamed various methods for readability
- Removed: Dropped PHP 5.6 support
- Added: Support for Laravel 5.4
- Removed: Dropped support for all older Laravel versions
- Added: Usage of
RESPONSE_CACHE_LIFETIMEenv var to config file
- Changed: Debug headers will not be sent when
APP_DEBUGis set to false
- Fixed: Issue where the cache middleware couldn't correctly determine the currently authenticated user
- Fixed: An issue where cached request were still served even if the package was disabled via the config file
- Fixed: An issue where the cache header could not be set
- Fixed: BaseCacheProfile has been made abstract (as it should have been all along)
- Fixed: Default cachetime
- Added: A command to flush the response cache
- Initial release