<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Dridi, <br>
      <br>
      Additionally can you please let me know if what exactly your
      module will do in my case and how it will cache the images.<br>
      <br>
      Thanks<br>
      Shantanu<br>
      <br>
      On 11/04/2013 04:34 PM, Kumar Shantanu wrote:<br>
    </div>
    <blockquote cite="mid:52777F49.9080002@techblue.co.uk" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <div class="moz-cite-prefix">Hi Dridi, <br>
        <br>
        Thanks for the quick response. Can I install this on my running
        instance of varnish or will I need to reinstall varnish with
        this module ?<br>
        <br>
        Thanks<br>
        Shantanu<br>
        <br>
        <br>
        On 11/04/2013 04:23 PM, Dridi Boukelmoune wrote:<br>
      </div>
      <blockquote
cite="mid:CABtDKm57Vx79BXd2enJQyh8bZHifBN40B44AWaSA24hM-m-kTQ@mail.gmail.com"
        type="cite">
        <pre wrap="">Hi,

I maintain a module that might help solve your issue:
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://github.com/dridi/libvmod-querystring">https://github.com/dridi/libvmod-querystring</a>

If you have any question, please do not hesitate.

Best Regards,
Dridi


On Mon, Nov 4, 2013 at 11:18 AM, Kumar Shantanu <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:shantanu@techblue.co.uk"><shantanu@techblue.co.uk></a> wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hello everybody,

I am trying to cache all images for my website and it's working fine with
simple configuration as given below.


sub vcl_recv {
  if (req.url ~ "\.(png|gif|jpg|jpeg|bmp)$"){
        remove req.http.Cookie;
   }


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

<a moz-do-not-send="true" 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=152.jpeg&_propertyslider_WAR_propertysliderportlet_img-height=400&_propertyslider_WAR_propertysliderportlet_img-width=960">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=152.jpeg&_propertyslider_WAR_propertysliderportlet_img-height=400&_propertyslider_WAR_propertysliderportlet_img-width=960</a>


Any idea on how to achieve this. I tried using reqex to match url but failed
:(


Thanks
Shantanu

_______________________________________________
varnish-misc mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a>
</pre>
        </blockquote>
      </blockquote>
      <br>
      <br>
      <div class="moz-signature">-- <br>
        <p>KUMAR SHANTANU<br>
        </p>
        <p> <img moz-do-not-send="false"
            src="cid:part6.02020009.07000805@techblue.co.uk"
            alt="Signature"> </p>
        <p>TEAM LEAD - IT<br>
          <br>
          FOR AND ON BEHALF OF: <br>
          <br>
          Technology Blueprint Ltd<br>
          23 Clemens Street<br>
          Royal Leamington Spa<br>
          Warwickshire CV31 2DW <br>
          <br>
          T: 0845 004 7142 (Ext. 5001) <br>
          E: <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
            href="mailto:shantanu@techblue.co.uk">shantanu@techblue.co.uk</a><br>
          W: <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
            href="http://www.technologyblueprint.co.uk">www.technologyblueprint.co.uk</a>
          <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
            href="http://www.propco.co.uk">www.propco.co.uk</a><br>
          <br>
          The contents of this email are confidential and may be
          privileged, and are intended only for the use of the person or
          company named herein. Any views or opinions presented are
          solely those of the author and do not necessarily represent
          those of Technology Blueprint Limited. <br>
          If you are not the intended recipient of this email or a
          person responsible for delivering it to the intended
          recipient, you are hereby notified that any distribution,
          copying or dissemination of the information herein is strictly
          prohibited </p>
      </div>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <p>KUMAR SHANTANU<br>
      </p>
      <p>
        <img moz-do-not-send="false"
          src="cid:part10.08070707.01040200@techblue.co.uk"
          alt="Signature"> </p>
      <p>TEAM LEAD - IT<br>
        <br>
        FOR AND ON BEHALF OF: <br>
        <br>
        Technology Blueprint Ltd<br>
        23 Clemens Street<br>
        Royal Leamington Spa<br>
        Warwickshire CV31 2DW <br>
        <br>
        T: 0845 004 7142 (Ext. 5001) <br>
        E: <a class="moz-txt-link-abbreviated" href="mailto:shantanu@techblue.co.uk">shantanu@techblue.co.uk</a><br>
        W: <a class="moz-txt-link-abbreviated" href="http://www.technologyblueprint.co.uk">www.technologyblueprint.co.uk</a> <a class="moz-txt-link-abbreviated" href="http://www.propco.co.uk">www.propco.co.uk</a><br>
        <br>
        The contents of this email are confidential and may be
        privileged, and are intended only for the use of the person or
        company named herein. Any views or opinions presented are solely
        those of the author and do not necessarily represent those of
        Technology Blueprint Limited. <br>
        If you are not the intended recipient of this email or a person
        responsible for delivering it to the intended recipient, you are
        hereby notified that any distribution, copying or dissemination
        of the information herein is strictly prohibited
      </p>
    </div>
  </body>
</html>