model view controller - Do fancy MVC URLs affect how caching is done? -
when reading answers aquestion on clearing cache js files, pointed part of http spec. says urls containing ? should not pulled cache, unless specific expiry date given. how query string absent urls common mvc websites (ror, asp.net mvc, etc.) cached, , behaviour different more traditional query string based urls?
afaik there no difference on part of browsers both firefox , ie (incorrectly) cache response url querystring, in same way cache response url without querystring. in case of safari respects spec , doesn't cache urls querystrings. http proxies tend tad errectic consider cacheable.
it pays have headers set correctly , it's worth investigating etags.
Comments
Post a Comment