• Hello, I was waiting for such a plugin to show up since the old one was broken.
    Unfortunately, this one doesn’t seem to be working either.
    If I add a server and save the settings, it looks like the settings are saved but they remain the same.

    Adding the server at wp-config.php seems to solve the problem somehow but Purging doesn’t do anything.

    Any thoughts?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author oj.dupuis

    (@ojdupuis)

    hello,

    I corrected it in version 0.92, sorry about that it was a regression I didn’t pay attention about.

    I decided today to move this configuration from a per blog basis to a site wide configuration.
    I just uploaded the V0.93 that solves your problem. It should be soon be available through www.remarpro.com

    Thanks for your feedback.

    Olivier

    PS: This plugin will be used professionnaly by the end of the month. So IT WILL work !

    Thread Starter Ovidiu

    (@ovidiubica)

    Great news then. I’m currently using W3-Total-Cache to purge Varnish but for this I need to use Page Caching with it to work.

    With this solution I should be able to only cache the pages using Varnish.

    Keep up the good work.
    Ovidiu

    Hi,

    I’m also having some difficult with the plugin, I have version 0.93 network activated on my WPMS3.1.2 install and correctly configured the varnish server in wp-config.php, but once new posts are added the varnish cache doesn’t get purged.

    Also once admins have logged in on their site (which run’s under the domain mapping plugin) and you view the site its still loading from varnish (no admin bar at the top)

    I’ve noticed this error in my php log:
    [error] 23860#0: *10920 FastCGI sent in stderr: “PHP Warning: Invalid argument supplied for foreach() in /wp-content/plugins/varnish-purger/varnish-purger-core.class.php on line 134”

    Chris

    Plugin Author oj.dupuis

    (@ojdupuis)

    Hello,

    about the warning I think it is due to the fact that when a post has been modified the Varnish Purger tries to purge all the tag pages where the post is present. But I didn’t take the case where no tag is defined into account. I will correct that but it is not a real problem.

    Also once admins have logged in on their site (which run’s under the domain mapping plugin) and you view the site its still loading from varnish (no admin bar at the top)

    I think you are using the vcl file provided in the plugins. As on our platform we use custom cookies I think that I understand the problem could you try to replace :

    # ##################
            # 98)Logged in used
            # ##################
            if ( req.http.Cookie ~ "wordpressuser=") {
                set req.http.Domaine = regsub(req.http.Cookie,"wordpressuser=([^;]+)","\1");
                if (req.http.Domaine == regsub(req.http.Host,"^([^\.]+)\.","\1")){
                    return (pass);
                }
            }

    by

    # ##################
            # 98)Logged in used
            # ##################
            if ( req.http.Cookie ~ "wordpress_[^=]+=") {
                    return (pass);
                }
            }

    Could you tell me if that solves your problem ?

    Thanks

    Olivier

    interestingly enough the plugin purges the subpages for tags without a hitch but not the “main” blog page. any hints?

    I have the same problem – rest of the site is purged, but not my homepage, and I don’t have the admin bar/’edit’ links on the homepage i.e. I’m getting a varnish page.

    I’ve installed other varnish plugins and they are flushing the homepage, but no admin bar though.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Purging varnish doesn't seem to be working’ is closed to new replies.