Skip to content

588136: Make ispdb cache-friendly #13

Merged
merged 1 commit into from Aug 20, 2012

2 participants

@sergiocharpineljr
  • 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
@Sancus
Sancus commented Aug 20, 2012

I think this is fine for now, we can always change it later if there's any particular need. Thanks, sergio!

@Sancus Sancus merged commit 8056653 into mozilla:master Aug 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.