title: Varnish with wp-touch mobile plugin for wordpress : mobile/desktop theme switch not working
body: <p>I am using updated 4.7.3 wordpress  with wp-touch pro and varnish latest vrsion (5)</p>
  
  <p>when i  logged in to wordpress dashboard theme switch between desktop theme to mobile and vice versa works well </p>
  
  <p>but when i logged out it is not working .</p>
  
  <p>varnish code </p>
  
  <pre><code>  if (req.url ~ "\?wptouch_switch") {
          return(pass);
      }
  </code></pre>
  
  <p>i suppose it wptouch switch is not passed through varnish .but even used above in my vcl .still its not working.</p>
  
  <p><a href="https://i.stack.imgur.com/NOA8n.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NOA8n.png" alt="wptouch theme switch"></a></p>