Open centminmod opened 8 years ago
seems if disable the css file from pagespeed which calls these fonts, the 403s have gone away so far
pagespeed Disallow */styles/xenbase/font-awesome/css/font-awesome.min.k.css*;
This might be related our recent change of removing "rel=preload" [1]. @jeffkaufman can you take a look?
[1] https://github.com/pagespeed/mod_pagespeed/commit/68cbc68c912f8737baed100924dd2b2b87261816
Removing the preload hints shouldn't cause 403 errors. To test this, though, you could disable stripping them:
pagespeed PreserveSubresourceHints on;
What's very weird to me is that it looks like in the first case the woff2 file loads successfully and in the second it 403s. But I don't see a difference between those two requests. They're both for:
https://cdnk1.centminmod.com/styles/xenbase/font-awesome/fonts/fontawesome-webfont.woff2?v=4.6.3
Updated my forums to nginx pagespeed 1.11.33.3 and seems i get only occasional 403s with subsequent reloads of pages for my web fonts served over KeyCDN tested on Opera 39.0.2256.48. Was fine on nginx pagespeed 1.11.33.2
But it only happens when pagespeed is enabled, when pagespeed is disabled it's fine.
example at https://community.centminmod.com/find-new/374420/posts
with pagespeed disabled or off i see only one instance of the fontawesome webfont .woff2 file i.e. https://community.centminmod.com/find-new/374420/posts?PageSpeed=off
with pagespeed enabled, i see it calling all 3 instances of my defined font types for various browsers and all get 403 errors ?
nginx config on CentOS 6.8 64bit
i have some preload and other resource hints
with ngx_pagespeed off
with ngx_pagespeed on
relevant pagespeed.conf rules