Hi, I maintain a module that might help solve your issue: https://github.com/dridi/libvmod-querystring
If you have any question, please do not hesitate. Best Regards, Dridi On Mon, Nov 4, 2013 at 11:18 AM, Kumar Shantanu <[email protected]> wrote: > 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 > > 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 > > > Any idea on how to achieve this. I tried using reqex to match url but failed > :( > > > Thanks > Shantanu > > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
