Fix caching of urls with header= parameter