Closed Bug 22697 Opened 25 years ago Closed 25 years ago

Data from bug reports are cached, probably shouldn't be

Categories

(Bugzilla :: Bugzilla-General, defect, P3)

defect

Tracking

()

VERIFIED WONTFIX

People

(Reporter: karl, Assigned: justdave)

References

()

Details

When the bug reports are shown, the contents are cached on the browser's local
drive.  That means that, if you're coming back after just making a change or
uploading a file, the changes aren't shown, possibly leading to a mid-air
collision.

It is also possible that some caching proxies and other network devices that use
caches could also cause problems.

Obviously, reloading fixes the problem, but some people would not think of that.

If the server uses HTTP/1.0, adding one or both of the following (a MIME header
and one META tag, respectively) should clear this up:
Pragma: no-cache
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

If the server uses HTTP/1.1, adding the header below (and, optionally, the META
tag below) can also work.  When the header and tag below are used with the
header and tag above (for HTTP/1.0), that should take care of everything.  The
HTTP/1.1-approved header/tag is:
Cache-control: no-cache
<META HTTP-EQUIV="Cache-Control" CONTENT="no
Component: Miscellaneous → Bugzilla
Product: mozilla.org → Webtools
Changing Product to "Webtools"; and Component to "Bugzilla".

The problem described is not academic, but perhaps it is not necessary to
disable caching altogether; a two-minute timeout would give enough time
to skip back and forth between links to other bug reports without hitting
the server every time, while still avoiding most mid-airs.
Reassigning to dmose, default owner for webtools component
Assignee: mitchell → dmose
Reassigning to terry, as bugzilla is his baby.
Assignee: dmose → terry
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
I think this is a bad idea.  Queries take significant overhead to run.  I think
people would rather things be fast than 100% accurate.
per Terry, auto-verifying any resolved bug that hasn't been touched since before 
2.10 was released.
Status: RESOLVED → VERIFIED
moving to Bugzilla product
reassign to default owner/qa for INVALID/WONTFIX/WORKSFORME/DUPLICATE
Assignee: terry → justdave
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
QA Contact: matty
Version: other → unspecified
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.