Closed Bug 588136 Opened 15 years ago Closed 13 years ago

Make ispdb cache-friendly

Categories

(Webtools :: ISPDB Server, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gozer, Unassigned)

References

Details

Needs to be setting some Cache-Control: hits to enable caching. Especially important for XML dumps that would go to the client.
Blocks: 526559
I'm thinking in something like: - add a default max-age of 600s. - for export_xml/id (exports a config XML): set no-cache to Cache-Control (it will cache but will always check with the server if the cache file is updated, and we can provide the last-update value using config.last_update_datetime) - list/xml/ (export list with config IDs and its last_update_datetime) - set no-cache to Cache-Control and use last-update as the most recent config.last_update_datetime The idea is to provide reliable data for XML requests that goes to clients. What do you think? Also, setting Vary: Cookie is enough to cache private data (or should we also add private to Cache-Control, or something else)?
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Component: ispdb → ISPDB Server
Product: Mozilla Messaging → Webtools
You need to log in before you can comment on or make changes to this bug.