The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Feature request - master cdn for main static files on multisite installs (3 posts)

  1. sanchothefat
    Posted 5 years ago #


    I want to patch this plugin to limit it to only upload the relevant files for a website instance. The way I use wordpress is as a multisite network. It makes no sense to me to have to upload all the various themes files, plugins & wp-includes again and again for each site on the network and not just the attachments or active theme.

    Ideally I'd like the plugin to be able to accept one cdn location for wp-includes and the theme files & plugins, and a separate one for the individual blog's attachments so I can create a bucket & distribution for each blog's attachments and have a single bucket & distribution for the files that are common to every site.

    There are two solutions to this problem when dealing with a network of sites:

    1. make the plugin able to use a single cdn location for all sites on a network and somehow differentiate the uploads folder for each individual site eg. by the blog_id
    2. allow multiple cdn resources to be defined for the different types of static content eg. a master cdn for themes & plugins & wp-includes and then individual buckets as normal for each site

    I'm happy to help coding this but could use some pointers to make sure it's done right. I think the second option would be the simplest.

  2. sanchothefat
    Posted 5 years ago #

    Ignore this thread - needs deleting as I didn't add it properly: go here instead: http://wordpress.org/support/topic/plugin-w3-total-cache-feature-request-master-cdn-to-use-on-all-sites-of-a-network

  3. Frederick Townes
    Posted 5 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic