WordPress Multisite CDN Links for static resources shouldn’t be unique per blog
-
I’m using wordpress multisite, and this may be default wordpress behavior but it’s causing problems for CDN usage.
A blog with the URL rootsite.com/blog1 has the static resources linked like
cdn1.rootsite.com/blog1/wp-content/themes/childtheme/style.cssWhen the same resource is available at cdn1.rootsite.com/wp-content/themes/childtheme/style.css
By including the blog slug in the url, it means that the CDN is storing unique copies of all of those static resources for EVERY SINGLE blog. Not only does it cost more, but it’s a big drag on performance.
For example, on a multisite network with 1000 blogs, there is a slow load cdn priming for each site. Whereas if the blog slug wasn’t in the url the first load of a resource on the network would be slow, but every other page load on the network would have a primed CDN to pull from.
Not sure if this is something that W3TC can address, but I’m open to any help or suggestions.
- The topic ‘WordPress Multisite CDN Links for static resources shouldn’t be unique per blog’ is closed to new replies.