WordPress.org

Support

Support » Plugins and Hacks » W3 Total Cache » [Plugin: W3 Total Cache] W3C Total Caché, Self Hosted CDN in different machine

[Plugin: W3 Total Cache] W3C Total Caché, Self Hosted CDN in different machine

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hmmm perhaps I can have a workaround by creating a CNAME which
    relates http://cdn.blog1.com to http://static.server.com/www.blog1.com/

    New update: using the pull – mirror option and using static.server.com/www.blog1.com in the “Replace site’s hostname with:” field, I have most of my statics rewritten as

    http://static.server.com/www.blog1.com/*

    FTW!

    Correct that should work nicely. Combining them into 1 file (through minify settings) should also work nicely and will rewrite them on the fly and will host them on the CDN at the same time.

    Aye, and I should mount the wp-content/w3tc folder on with NFS pointing to the static server.

    Either that, or I should tamper with the plugin code to use the same folder as the images

    This post is perfect timing for me as I use the same plugin and I am preparing for first light on my site this week. I have been using Firefox > Firebug > Page Speed to see how my various admin gymnastics are stacking up.

    I do have a question for wiser and more experienced heads, the efforts made here are not entirely insignificant. I have a single blog with no plans for more. I would like traffic and a very good experience for my readers/viewers, thus I am concerned about performance and would like to do whatever I can to insure that occurs.

    Being a longterm dev and coder in other areas, I know that the OCD fixation of the perfection performance can work a mighty grip. At what point should I be concerned and looking for CDNs and other efforts? Should I judge by my Page Speed scores, traffics numbers or when I see the torches and pitchforks of displeased users?

    BTW This is no comment on amenadiel, he clearly knows his path. Thanks for any thoughts.

    Hmmm I can’t seem to get it to work. I’ve tried changing define.php to define the following:

    define(‘WP_CONTENT_DIR_NAME’, get_option(‘upload_path’));

    but all I get is a blank screen.

    I can get the constant defined before, right in w3-total-cache.php, but it doesn’t stick, the constant remains empty during plugin’s runtime.

    Plugin Author Frederick Townes

    @fredericktownes

    @amenadiel, that define is not yet supported.

    I worked my path through the constants and the file generation that take place when activationg the plugin. I moved all the files to the NFS mounted folder, for it’s the only one with 755 permissions.

    The problem is that these minify files aren’t executable nor rewrittable, because the static machine has no PHP and uses nginx as webserver. I ended up disabling the minify option which was one of the main features I wanted to see.

    I’ll keep working on the issue. Perhaps object-cache.php, db.php and advanced-cache.php don’t need to get duped onto the WP-CONTENT folder (in my case, the constant is WP-BZ-DIR which is /up (the NFS mounted one).

    Plugin Author Frederick Townes

    @fredericktownes

    Perhaps object-cache.php, db.php and advanced-cache.php don’t need to get duped onto the WP-CONTENT folder (in my case, the constant is WP-BZ-DIR which is /up (the NFS mounted one).

    Yes they do.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: W3 Total Cache] W3C Total Caché, Self Hosted CDN in different machine’ is closed to new replies.
Skip to toolbar