WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Network Site + Domain Mapping + W3TC + Varnish (1 post)

  1. armetiz
    Member
    Posted 2 years ago #

    Hi there.
    I'm using WordPress as a Network Site with Domain Mapping plugin & W3TC.
    Also, I'm using a Varnish server.

    I want to be able to purge some URLs when content are added or changed.
    I have enable W3TC Varnish log and I can see that PURGE HTTP are sent.

    I'm using a Network Site (sub-folder configuration) with Domain Mapping plugin.
    So siteA has an internal URL format which look like :
    - http://www.master.com/siteA/
    This site have a primary domain ( define in Domain Mapping settings) which is :
    - http://www.sitea.com

    I'm using siteA only with http://www.sitea.com, and Varnish use this hostname to create the key of cached URL. e.g:
    - http://www.sitea.com/my-category/my-article

    The problem is that, W3TC send a HTTP PURGE Request which is :
    - http://www.master.com/siteA/my-category/my-article

    As you can see.. Varnish purge an URL, but this is the wrong URL...

    Do you have any clue to fix this problem ?
    I haven't find anything to "hock" the W3TC purge task...

    Thanks a lot.

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic