Quantcast
Viewing all articles
Browse latest Browse all 19300

Jim Robinson on "[Plugin: W3 Total Cache] Exclude stylesheet from being requested from cdn"

I would like to know the answer to this as well. I have a CSS including font files but fonts require a CORS header to work properly across domains in some browser (like Firefox and IE). This is an issue because a number of firewalls block various headers (including CORS) from coming though. I need a way to get the default URL path without the converting to the CDN domain. Any way to do this?

plugins_url() and get_template_directory_uri() both convert to the CDN domain. Is there another function that will do the same without passing back the CDN domain?


Viewing all articles
Browse latest Browse all 19300

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>