Closed Bug 101502 Opened 23 years ago Closed 23 years ago

Mozilla shouldn't cache temporary redirects if Cache-control no-cache sent

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 89419

People

(Reporter: t8m, Assigned: neeti)

References

Details

When I have page with IMG tag which has src pointing to a CGI which just sends a
temporary redirect (status 307) to the real picture which should be shown,
Mozilla incorectly caches the redirect response although Cache-control:no-cache
has been sent. Thus the cgi script is not called again when I browse through the
pages again on that specified page. 
The only way how to achieve this is to set the cache preferences to: Compare the
page in the cache to the page on the network every time I view the page.
It seems to me that the Cache-control field is ignored on the redirect response.
Note I'm NOT talking about browsing using history back/forward. I use normal
navigation through links between pages.
Adding some dependancy on other bugs with temporary redirects and cache-control.
For example the correct fix to bug 94121 would enable to make workaround in my
application.

Blocks: 48202, 68423
Depends on: 94121
Mozilla never caches any sort of redirects, but imglib does the wrong thing.



*** This bug has been marked as a duplicate of 89419 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
No longer blocks: 48202
No longer blocks: 68423
Thank you for pointing me to the actual bug. Verified.
Status: RESOLVED → VERIFIED
-> imagelib, qa=tpreston
you guys are so helpful, how about changing the qa contact sometimes?
Component: Networking → ImageLib
QA Contact: benc → tpreston
You need to log in before you can comment on or make changes to this bug.