<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello everybody, <br>
    <br>
    I am trying to cache all images for my website and it's working fine
    with simple configuration as given below. <br>
     
    <blockquote type="cite">sub vcl_recv {<br>
        if (req.url ~ "\.(png|gif|jpg|jpeg|bmp)$"){<br>
              remove req.http.Cookie;<br>
         }<br>
    </blockquote>
    <br>
    It's caching image url which is simply ending with filename.jpeg,
    but this can't cache if the url is bit complex like this<br>
    <blockquote type="cite"><a class="moz-txt-link-freetext" href="http://test.demo.co.uk/web/demo/home?p_p_id=propertyslider_WAR_propertysliderportlet&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_cacheability=cacheLevelPage&p_p_col_id=column-1&p_p_col_count=1&_propertyslider_WAR_propertysliderportlet_img-name=">http://test.demo.co.uk/web/demo/home?p_p_id=propertyslider_WAR_propertysliderportlet&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_cacheability=cacheLevelPage&p_p_col_id=column-1&p_p_col_count=1&_propertyslider_WAR_propertysliderportlet_img-name=</a><font
        color="#ff0000"><b>152.jpeg</b></font>&_propertyslider_WAR_propertysliderportlet_img-height=400&_propertyslider_WAR_propertysliderportlet_img-width=960</blockquote>
    <br>
    Any idea on how to achieve this. I tried using reqex to match url
    but failed :(<br>
    <br>
    <br>
    Thanks<br>
    Shantanu<br>
  </body>
</html>