<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi.<br>
    May be<br>
    sub vcl_hash
    {                                                                  <br>
            set req.hash
    +=req.url;                                                
                      <br>
           
    return(hash);                                                          
    <br>
    }       <br>
    <br>
    sub vcl_fetch
    {                                                                          
    <br>
            if (req.url ~ "(php") { set beresp.ttl =30s;}    <br>
    }         <br>
    <br>
    and  -p lru_interval=30 in command-line run options?<br>
    Wbr,<br>
    Iliya Sharov<br>
    03.03.2011 19:23, Shibashish пишет:
    <blockquote
      cite="mid:AANLkTik-3vbnvOXkHnOvL8=PWHwzc2uT+75xvAxHMyvB@mail.gmail.com"
      type="cite">
      <div>Hi All,</div>
      <div><br>
      </div>
      <div>My "varnishtop -b -i TxURL" shows...</div>
      <div><br>
      </div>
      <div>
        <div>     9.99 TxURL        
 /abc.php?id=2183&status=2&bt1=686&bt2=3285&pl1=1051&pl2=504&stat=1</div>
        <div>     9.99 TxURL        
 /abc.php?id=2183&status=2&bt1=686&bt2=3285&pl1=1051&pl2=504&stat=2</div>
        <div>     9.99 TxURL        
 /xyz.php?id=2183&status=2&bt1=686&bt2=3285&pl1=1051&pl2=504&stat=2</div>
        <div>     6.00 TxURL        
 /aabb.php?id=2183&status=2&bt1=686&bt2=3285&pl1=1051&pl2=504&stat=2</div>
        <div>     5.99 TxURL        
 /abc.php?id=2183&status=2&bt1=3285&bt2=1433&pl1=504&pl2=142&stat=2</div>
        <div>     4.99 TxURL        
 /xyz.php?id=2183&status=2&bt1=3285&bt2=1433&pl1=504&pl2=142&stat=2</div>
        <div>     4.99 TxURL        
 /abc.php?id=2183&status=2&bt1=3285&bt2=1433&pl1=504&pl2=142&stat=1</div>
        <div>     4.00 TxURL        
 /podsaabb.php?id=2183&status=2&bt1=1433&bt2=3285&pl1=504&pl2=142&stat=2</div>
        <div>     4.00 TxURL        
 /podsaabb.php?id=2183&status=2&bt1=3285&bt2=1433&pl1=504&pl2=142&stat=2</div>
        <div>     4.00 TxURL        
 /abc.php?id=2183&status=2&bt1=1433&bt2=3285&pl1=504&pl2=142&stat=2</div>
        <div>     4.00 TxURL        
 /abc.php?id=2183&status=2&bt1=1433&bt2=3285&pl1=504&pl2=142&stat=1</div>
        <div>     3.99 TxURL          /xyz.php?id=2182&status=1</div>
        <div>     3.00 TxURL        
 /aabb.php?id=2183&status=2&bt1=1433&bt2=3285&pl1=142&pl2=1053&stat=2</div>
        <div>     3.00 TxURL        
 /abc.php?id=2182&status=1&bt1=1412&bt2=0&pl1=318&pl2=6667&stat=1</div>
        <div>     3.00 TxURL        
 /xyz.php?id=2183&status=2&bt1=3285&bt2=7852&pl1=142&pl2=1053&stat=2</div>
        <div>     3.00 TxURL        
 /abc.php?id=2183&status=2&bt1=3285&bt2=7852&pl1=142&pl2=1053&stat=1</div>
        <div>     3.00 TxURL        
 /xyz.php?id=2183&status=2&bt1=7676&bt2=7852&pl1=142&pl2=1053&stat=2</div>
        <div>     3.00 TxURL        
 /abc.php?id=2183&status=2&bt1=7676&bt2=1432&pl1=360&pl2=1053&stat=2</div>
        <div>     3.00 TxURL        
 /abc.php?id=2183&status=2&bt1=7676&bt2=1432&pl1=360&pl2=1053&stat=1</div>
        <div>     3.00 TxURL        
 /abc.php?id=2183&status=2&bt1=3285&bt2=7852&pl1=142&pl2=1053&stat=2</div>
        <div>     3.00 TxURL        
 /abc.php?id=2183&status=2&bt1=1433&bt2=3285&pl1=142&pl2=1053&stat=2</div>
        <div>     3.00 TxURL        
 /abc.php?id=2183&status=2&bt1=1433&bt2=3285&pl1=142&pl2=1053&stat=1</div>
        <div>     3.00 TxURL        
 /abc.php?id=2183&status=2&bt1=7852&bt2=0&pl1=142&pl2=1053&stat=2</div>
        <div>     3.00 TxURL        
 /xyz.php?id=2183&status=2&bt1=1433&bt2=3285&pl1=504&pl2=142&stat=2</div>
        <div>     3.00 TxURL        
 /abc.php?id=2183&status=2&bt1=7852&bt2=0&pl1=142&pl2=1053&stat=1</div>
        <div>     2.00 TxURL        
 /aabb.php?id=2183&status=2&bt1=7676&bt2=1432&pl1=360&pl2=1053&stat=2</div>
        <div>     2.00 TxURL        
 /abc.php?id=2183&status=2&bt1=7676&bt2=0&pl1=1053&pl2=360&stat=2</div>
        <div>     2.00 TxURL        
 /abc.php?id=2183&status=2&bt1=7676&bt2=1432&pl1=142&pl2=1051&stat=1</div>
        <div>     2.00 TxURL        
 /aabb.php?id=2183&status=2&bt1=7852&bt2=0&pl1=142&pl2=1053&stat=2</div>
        <div>     2.00 TxURL        
 /abc.php?id=2183&status=2&bt1=7676&bt2=7852&pl1=142&pl2=1053&stat=2</div>
        <div>     2.00 TxURL        
 /abc.php?id=2183&status=2&bt1=3285&bt2=686&pl1=504&pl2=142&stat=1</div>
        <div>     2.00 TxURL        
 /abc.php?id=2183&status=2&bt1=7676&bt2=7852&pl1=142&pl2=1053&stat=1</div>
        <div>     2.00 TxURL        
 /xyz.php?id=2183&status=2&bt1=3285&bt2=686&pl1=504&pl2=142&stat=2</div>
        <div>     2.00 TxURL        
 /abc.php?id=2183&status=2&bt1=7676&bt2=1432&pl1=142&pl2=1051&stat=2</div>
        <div>     2.00 TxURL        
 /xyz.php?id=2183&status=2&bt1=7852&bt2=7676&pl1=142&pl2=1053&stat=2</div>
        <div>     2.00 TxURL        
 /xyz.php?id=2183&status=2&bt1=7676&bt2=1432&pl1=360&pl2=1053&stat=2</div>
      </div>
      <div><br>
      </div>
      <div>How can i cache those dynamic pages in Varnish, say for 30
        sec ?</div>
      <div><br>
      </div>
      <div>Thanks.</div>
      <div><br>
      </div>
      <div>--</div>
      <div>Shib</div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
varnish-misc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a>
<a class="moz-txt-link-freetext" href="http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc">http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a></pre>
    </blockquote>
    <br>
  </body>
</html>