mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-27 14:15:37 +01:00
[/latest] Correct content type and prevent caching
This commit is contained in:
parent
b2ee8bf786
commit
5e4ecfe225
|
@ -1,3 +1,12 @@
|
||||||
|
RewriteEngine on
|
||||||
|
RewriteRule version - [T=text/plain]
|
||||||
|
|
||||||
|
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
|
Options +Indexes
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user