Support » Plugin: Smart Varnish » Varnish 4 update

  • I’m running varnish4 and had to tweak the config.

    if ( req.method == "POST" || req.http.cookie ~ "smart_varnish_bypass") {
        return( pipe );
      }

    If you use pass varnish may still strip cookies from the other subroutines which will run after a pass. pipe should be used instead of pass here to avoid accidentally doing that if the vcl in use isn’t precise enough. if you want to entirely bypass varnish pipe is the way to go.

    https://wordpress.org/plugins/smart-varnish/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Varnish 4 update’ is closed to new replies.