http://varnish.projects.linpro.no/wiki/FAQ
On Tue, Feb 10, 2009 at 11:22 PM, Jeff Anderson <j...@funnyordie.com> wrote: > Actually yes query stripping is what I want to do on the inbound request not > on the fetch. My mistake for not being clear. > > > On Feb 10, 2009, at 1:39 AM, Paras Fadte wrote: > >> query stripping ? >> >> >> On Thu, Feb 5, 2009 at 10:05 PM, Jeff Anderson <j...@funnyordie.com> >> 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 >>> varnish-misc@projects.linpro.no >>> http://projects.linpro.no/mailman/listinfo/varnish-misc >>> >>> > > --Jeff > j...@funnyordie.com > > > > _______________________________________________ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc