mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
merge changelog
This commit is contained in:
parent
24e9253b87
commit
779865e29f
@ -360,9 +360,6 @@ class PageController extends ContentController
|
|||||||
* No longer sets `Last-Modified` date in HTTP response headers in `DataObject::__construct()`.
|
* No longer sets `Last-Modified` date in HTTP response headers in `DataObject::__construct()`.
|
||||||
Uses `ETag` calculation based on response body which is more accurate,
|
Uses `ETag` calculation based on response body which is more accurate,
|
||||||
and resilient against partial and object caching which can produce stale `Last-Modified` values.
|
and resilient against partial and object caching which can produce stale `Last-Modified` values.
|
||||||
* DataObject no longer automatically invokes `HTTP::register_modification_date`
|
|
||||||
with LastModified on construction. User code should instead invoke
|
|
||||||
`HTTPCacheControlMiddleware::singleton()->registerModificationDate()` explicitly.
|
|
||||||
* Deprecated `HTTP::add_cache_headers()`. Headers are added automatically by `HTTPCacheControlMiddleware` instead.
|
* Deprecated `HTTP::add_cache_headers()`. Headers are added automatically by `HTTPCacheControlMiddleware` instead.
|
||||||
* Deprecated `HTTP::set_cache_age()`. Use `HTTPCacheControlMiddleware::singleton()->setMaxAge($age)`
|
* Deprecated `HTTP::set_cache_age()`. Use `HTTPCacheControlMiddleware::singleton()->setMaxAge($age)`
|
||||||
* Deprecated `HTTP.cache_ajax_requests`. Use `HTTPCacheControlMiddleware::disableCache()` instead
|
* Deprecated `HTTP.cache_ajax_requests`. Use `HTTPCacheControlMiddleware::disableCache()` instead
|
||||||
|
Loading…
Reference in New Issue
Block a user