[Plugin: W3 Total Cache] plugins_url does not use the CDN
-
What is the best way for me to get my site to rewrite the JS and CSS from the plugins to the CDN
I am using a origin pull CDN (MaxCDN) and I can not figure out how to get the plugin URL to change to use the CDN.
Unless I am missing something in the plugin, I can not find it.
I have also tried a quick filter:
function pluginCDN() {
return “http://xxx.domain.netdna-cdn.com/” ;
}
add_filter(‘plugins_url’, ‘pluginCDN’);and that worked for me.
Is there are reason why there W3 Cache does not rewrite the plugin url for Origin Pull / Max CDN style cdn’s
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: W3 Total Cache] plugins_url does not use the CDN’ is closed to new replies.