1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

CloudFlare page rules will ignore the Vary header, so we can't cache per User-Agent

This commit is contained in:
Reinhard Pointner 2017-03-21 21:21:39 +08:00
parent 5378034606
commit a338ab9a05

View File

@ -1,9 +0,0 @@
# cache by User Agent (e.g. FileBot 4.2)
Header append Vary User-Agent
# block outdated versions
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^FileBot.[0-9].[0-6].*$ [NC]
RewriteRule ^(.*)$ - [G]