reports.cgi draws graph every time even though the data is static

RESOLVED WORKSFORME

Status

()

Bugzilla
Reporting/Charting
P2
normal
RESOLVED WORKSFORME
18 years ago
6 years ago

People

(Reporter: uamjet602, Assigned: gerv)

Tracking

Details

(URL)

(Reporter)

Description

18 years ago
Every time you request a bug chart, reports.cgi redraws the graphic. The data
only changes once a day though.

It would be easy to check if the file (whose name is static too) already exists
and if it does, skip the drawing stuff.

The collectstats script would have to remove the images as the data is updated.
Umm, does this mean making sure that the browser can use a cached version of the
image?
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.16
All sounds good, but can the file be accidentally removed while being
downloaded, or between creation and download?
Priority: P3 → P2

Comment 3

17 years ago
I'm pretty sure it's already done this way.

http://lxr.mozilla.org/mozilla/source/webtools/bugzilla/reports.cgi#505

Comment 4

17 years ago
-> New Bugzilla Product
Assignee: tara → gerv
Component: Bugzilla → Reporting/Charting
Product: Webtools → Bugzilla
Version: other → unspecified
We do cache the images.

Gerv
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → WORKSFORME
clearing milestone for invalid/wontfix/worksforme/duplicate so they'll show up
as untriaged if they get reopened.
Target Milestone: Bugzilla 2.16 → ---
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.