Re:Twitter accounts are being hijacked for spam
by nitrogen on Sunday May 26, 2019 @12:23PM
(#20015696)
You should be able to send a Vary: Accept header to the cache to have it cache all image types.
Re:Twitter accounts are being hijacked for spam
by judge2020 on Sunday May 26, 2019 @02:49PM
(#20016670)
If CF is caching, this won't work. https://support.cloudflare.com/hc/en-us/articles/217343117-W...
It has fiddled my .htaccess to
RewriteCond %{HTTP_ACCEPT} "image/webp" [or] RewriteCond %{HTTP_USER_AGENT} "Page Speed" RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+webp]
But... now I think about it, I probably still have CloudFlare cacheing on. Which means that won't get hit some of the time. Hmmmm.... Let's see if my server can survive HN without a CDN.