summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2017-01-10 14:07:13 +0100
committerGitHub <noreply@github.com>2017-01-10 14:07:13 +0100
commitaee11009bd8c594adb16fb40f890b231d0ecc2ad (patch)
tree99f01ac763c5c9e8768486036f35db9301d5f884 /lib/public
parent4dd2a1e6798b9915e20ac72272fbe1bab0266e93 (diff)
parent45c6301772721258c765f76a342958c190e9598e (diff)
downloadnextcloud-server-aee11009bd8c594adb16fb40f890b231d0ecc2ad.tar.gz
nextcloud-server-aee11009bd8c594adb16fb40f890b231d0ecc2ad.zip
Merge pull request #3000 from nextcloud/cache-no-store
set 'no-store' cache header if we do not want FF to cache
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/AppFramework/Http/Response.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/AppFramework/Http/Response.php b/lib/public/AppFramework/Http/Response.php
index 8591d6abc68..051e68f3144 100644
--- a/lib/public/AppFramework/Http/Response.php
+++ b/lib/public/AppFramework/Http/Response.php
@@ -43,11 +43,11 @@ use OCP\AppFramework\Http;
class Response {
/**
- * Headers - defaults to ['Cache-Control' => 'no-cache, must-revalidate']
+ * Headers - defaults to ['Cache-Control' => 'no-cache, no-store, must-revalidate']
* @var array
*/
private $headers = array(
- 'Cache-Control' => 'no-cache, must-revalidate'
+ 'Cache-Control' => 'no-cache, no-store, must-revalidate'
);