mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
IMPR: Cache control
This commit is contained in:
parent
a82c032b58
commit
7995d46cb6
@ -28,8 +28,6 @@ class PageController extends ContentController
|
|||||||
|
|
||||||
protected function init()
|
protected function init()
|
||||||
{
|
{
|
||||||
DeferredRequirements::Auto();
|
|
||||||
|
|
||||||
HTTPCacheControlMiddleware::singleton()
|
HTTPCacheControlMiddleware::singleton()
|
||||||
->enableCache()
|
->enableCache()
|
||||||
// 1 minute
|
// 1 minute
|
||||||
|
Loading…
Reference in New Issue
Block a user