Is there a way in VCL to cache just the base html of a page without its parameters? For example:<div><br></div><div>/advertproviderformat.html?provider=2342342&foo=3434&bar=34213142</div><div><br></div><div>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:</div>
<div><br></div><div>if obj.url ~ 'advertproviderformat.html {</div><div> set obj.ttl = 24h;</div><div>}</div><div><br></div><div>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?</div>
<div><br></div><div><br></div><div>Thanks,</div><div>--Jeff</div>