caching - Google chrome same url cache -
i'm testing servlet using google chrome. when tried load same url twice, say,
localhost/myserver/servlet
chrome sent out 1 request server. however, if modified second url be:
localhost/myserver/servlet?id=2
it sent 2 different requests. i've enabled incognito mode, seems chrome shares cache , urls between incognito tabs.
caching control part of http specification, read it. using http headers cache-control: no-cache
or expires: ...
should you.
Comments
Post a Comment