query stripping ?
On Thu, Feb 5, 2009 at 10:05 PM, Jeff Anderson <[email protected]> wrote: > Is there a way in VCL to cache just the base html of a page without > its parameters? For example: > /advertproviderformat.html?provider=2342342&foo=3434&bar=34213142 > Is the entire url cached or just the advertprovider.html portion? It seems > the whole url is cached because I observe so many misses for these calls. > The parameters are nearly always random so caching the entire url is > very inefficient. I've tried in vcl_fetch: > if obj.url ~ 'advertproviderformat.html { > set obj.ttl = 24h; > } > But I think it is just caching the entire url which extremely inefficient. > How can I just instruct varnish to serve the advertproviderformat.html when > it receives one of the full url requests? How can I handle this in VCL? > > Thanks, > --Jeff > _______________________________________________ > varnish-misc mailing list > [email protected] > http://projects.linpro.no/mailman/listinfo/varnish-misc > > _______________________________________________ varnish-misc mailing list [email protected] http://projects.linpro.no/mailman/listinfo/varnish-misc
