Closed
Bug 588136
Opened 15 years ago
Closed 13 years ago
Make ispdb cache-friendly
Categories
(Webtools :: ISPDB Server, defect)
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.
Comment 1•13 years ago
|
||
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)?
Comment 2•13 years ago
|
||
This has been fixed on https://github.com/mozilla/ispdb/pull/13
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•13 years ago
|
Component: ispdb → ISPDB Server
Product: Mozilla Messaging → Webtools
You need to log in
before you can comment on or make changes to this bug.
Description
•