On Thu, Mar 3, 2011 at 5:35 PM, Iliya Sharov <span dir="ltr"><<a href="mailto:isharov@yandex-team.ru">isharov@yandex-team.ru</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">



  
    
  
  <div text="#000000" bgcolor="#ffffff">
    Hi.<br>
    May be<br>
    sub vcl_hash
    {                                                                  <br>
            set req.hash
    +=req.url;                                                
                      <br>
           
    return(hash);                                                          
    <br>
    }       <br></div></blockquote><div><br></div><div>This part isn't necessary. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div text="#000000" bgcolor="#ffffff">


    <br>
    sub vcl_fetch
    {                                                                          
    <br>
            if (req.url ~ "(php") { set beresp.ttl =30s;}    <br>
    }        <br></div></blockquote><div><br></div><div>It will work. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div text="#000000" bgcolor="#ffffff">


    and  -p lru_interval=30 in command-line run options?<br></div></blockquote><div><br></div><div>This is also not relevant. I wouldn't recommend screwing around with parameters unless it is called for and you're know what you're doing. </div>

<div> </div></div><br>-- <br>Per Buer, Varnish Software<br>Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer<br>Varnish makes websites fly!<br>Want to learn more about Varnish? <a href="http://www.varnish-software.com/whitepapers" target="_blank">http://www.varnish-software.com/whitepapers</a><br>

<br>