ajax - How to prevent IE6 from refetching already-fetched images added via DOM manipulation -


if add image browser's dom, ie6 not check cache see if downloaded image will, instead, re-retrieve server. have not found combination of http response headers (of ensuing image request) convince ie6 can cache image: cache-control, expires, last-modified.

some suggest can return 304 of subsequent image requests tell ie6 "you got it" want avoid whole round trip server in first place.

maybe this work? (is same behaviour hovering on links css background image)


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -