merge changelog

This commit is contained in:
Ingo Schommer 2018-06-14 14:15:55 +12:00
parent 24e9253b87
commit 779865e29f

View File

@ -360,9 +360,6 @@ class PageController extends ContentController
* No longer sets `Last-Modified` date in HTTP response headers in `DataObject::__construct()`.
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.
* 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::set_cache_age()`. Use `HTTPCacheControlMiddleware::singleton()->setMaxAge($age)`
* Deprecated `HTTP.cache_ajax_requests`. Use `HTTPCacheControlMiddleware::disableCache()` instead