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
1 changed files with 0 additions and 9 deletions

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]