Alexandre Julliard : winetest: Disable caching for php files.
Alexandre Julliard
julliard at winehq.org
Fri Oct 25 05:37:31 CDT 2013
Module: tools
Branch: master
Commit: 755172c04c2eb2b128796860df5a079aeaeb54c2
URL: http://source.winehq.org/git/tools.git/?a=commit;h=755172c04c2eb2b128796860df5a079aeaeb54c2
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Oct 25 12:35:47 2013 +0200
winetest: Disable caching for php files.
---
winetest/tests/.htaccess | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/winetest/tests/.htaccess b/winetest/tests/.htaccess
index f6c2d00..3189dbd 100644
--- a/winetest/tests/.htaccess
+++ b/winetest/tests/.htaccess
@@ -8,3 +8,13 @@ SetEnv no-gzip dont-vary
Options ExecCGI
SetHandler cgi-script
</Files>
+
+<FilesMatch "\.php$">
+FileETag None
+<ifModule mod_headers.c>
+Header unset ETag
+Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
+Header set Pragma "no-cache"
+Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
+</ifModule>
+</FilesMatch>
More information about the wine-cvs
mailing list