Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Ron Rennick

    (@wpmuguru)

    Can you exclude the font files from cache?

    Thread Starter majenn

    (@majenn)

    It was basically web browsers (quite rightly) not allowing the download of fonts from a third party source after WP super cache changed URLs for the font’s source to my CDN as it’s a security risk. Sorted by adding the following into htaccess:

    <IfModule mod_headers.c>
    <FilesMatch “\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$”>
    Header set Access-Control-Allow-Origin “*”
    </FilesMatch>
    </IfModule>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘icons not shoiwng after move to WP super cache’ is closed to new replies.