WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Feature Request / Concern: Directory Structure (4 posts)

  1. TexInWien
    Member
    Posted 3 years ago #

    This is related to, but not the same as my previous post. Again, this is mostly in relation to multiuser installations.

    The naming of the directory structure for file-based caching concerns me. I haven't tested this out to see how it works, but I'll just put my concern out for the developers.

    W3 Total Cache gives each site in a multiuser installation its own cache directory that contains the domain name of the site. So, if I have a site with the domain name someblog1.com on a multiuser installation, I'll get the following directory:
    wp-content/w3tc-someblog1.com

    What concerns me here is the reliance on the domain name. That can change over time - a company buys a new domain name, decides to move the site to a subdomain, or whatever. If W3 Total Cache relies programmatically on the domain name staying the same as the caching folder name, that's not an optimal solution.

    Better would be to rely on the blog ID, which will not change, even if the site's domain name changes. If W3 Total Cache relies on the changeable domain name and cache directory name matching up, I'd like to request that this be changed to matching the immutable blog id.

    Kurt

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks Kurt, will take this into consideration.

  3. TexInWien
    Member
    Posted 3 years ago #

    Hi Frederick,

    Thanks for the response. To go one step further, I'd like to suggest the following directory structure. This takes into account one of my other feature requests, which can be found here:
    http://wordpress.org/support/topic/plugin-w3-total-cache-feature-request-better-directory-structure-for-file-based-caching?replies=2

    wp-content/w3tc/000001/
    wp-content/w3tc/000002/
    wp-content/w3tc/[6 digits - blogid left-padded with 0's]

  4. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    Again, I'll take this into consideration.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic