WordPress Varnish
Nothing happens when i click on the + button (7 posts)

  1. nicolargo
    Posted 4 years ago #


    i just install the WP-Varnish plugin on my WordPress 3.1 alpha blog.
    When i click on the + button (to add a new Varnish server) nothing happens...

    Any idea ?


  2. Snupt
    Posted 4 years ago #

    I have the same

  3. Snupt
    Posted 4 years ago #

    You can take it from here http://github.com/pkhamre/wp-varnish …But plugin doesn't work :(

  4. ilarim
    Posted 4 years ago #

    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 {
    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
  5. kirrus
    Posted 4 years ago #

    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?

  6. kirrus
    Posted 4 years ago #

  7. johnyma22
    Posted 4 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Varnish
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic