page: disable cache
parent
bb47f5b6dc
commit
e0d3983c5b
|
@ -94,6 +94,7 @@ class PageController extends Controller
|
|||
|
||||
$response = new TemplateResponse($this->appName, 'main');
|
||||
$response->setContentSecurityPolicy(self::getCSP());
|
||||
$response->cacheFor(0);
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
|
|
@ -110,6 +110,7 @@ class PublicController extends AuthPublicShareController
|
|||
$response->setHeaderTitle($share->getNode()->getName());
|
||||
$response->setFooterVisible(false); // wth is that anyway?
|
||||
$response->setContentSecurityPolicy(PageController::getCSP());
|
||||
$response->cacheFor(0);
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue