summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2014-11-13 23:37:57 +0100
committerPhilipp Hagemeister <[email protected]>2014-11-13 23:37:57 +0100
commit5e4ecfe2254d6cb649e71a82a3fd6105f6d7b2fa (patch)
tree5b1fcdb9e1dfed1845935a22fb018a096c7df441
parentb2ee8bf786c9ed39621503236df3f04b80f59d93 (diff)
downloadyoutube-dl-5e4ecfe2254d6cb649e71a82a3fd6105f6d7b2fa.tar.gz
youtube-dl-5e4ecfe2254d6cb649e71a82a3fd6105f6d7b2fa.zip
[/latest] Correct content type and prevent caching
-rw-r--r--latest/.htaccess11
1 files changed, 10 insertions, 1 deletions
diff --git a/latest/.htaccess b/latest/.htaccess
index 7e3206c18..cec48e4e4 100644
--- a/latest/.htaccess
+++ b/latest/.htaccess
@@ -1,3 +1,12 @@
+RewriteEngine on
+RewriteRule version - [T=text/plain]
-Options +Indexes
+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>
+Options +Indexes