Viewing 6 replies - 1 through 6 (of 6 total)
  • I have the same

    You can take it from here https://github.com/pkhamre/wp-varnish …But plugin doesn’t work ??

    ilarim

    (@ilarim)

    I have tested this plugin with WP 3.1 and got it working with these settings:

    • Get the latest version from github
      clone git://github.com/pkhamre/wp-varnish.git
    • Add these lines to /etc/varnish/default.vcl:
    After backend definition
    acl purge {
      "localhost";
    }
    
    And inside sub vcl_recv
      if (req.request == "PURGE") {
        if(!client.ip ~ purge) {
          error 405 "Not allowed.";
        }
    
        purge("req.url ~ ^" req.url "$ && req.http.host == "req.http.host);
      }
    • Activate plugin from WordPress admin panel
    kirrus

    (@kirrus)

    Ok, so this is incredibly dumb, and I’m reporting it as a bug.

    The wp-varnish plugin, when installed from wordpress, is called “wordpress-varnish”. However, the plugin thinks it’s called ‘wp-varnish’.

    This means, the javascript file with the addRow function the button triggers, 404s. And, even more joyfully, because you’re probably caching javascript to Timbuktu and back like I am, it will take you 4 hours after you fix it to actually get the file.

    So, you need to remove the javascript file from your cache, and rename the plugin folder from wordpress-varnish to wp-varnish in your plugins folder.

    did I mention this was dumb?

    kirrus

    (@kirrus)

    johnyma22

    (@johnyma22)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WordPress Varnish] Nothing happens when i click on the button’ is closed to new replies.