Closed Bug 1087411 Opened 10 years ago Closed 10 years ago

Send cache=1 to site_config, consumer_info API requests

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P3)

Avenir
defect

Tracking

(Not tracked)

RESOLVED FIXED
2014-11-04

People

(Reporter: mat, Assigned: mat)

References

Details

(Keywords: perf, Whiteboard: [qa-])

When fireplace loads, it sends a request for site_config and consumer_info APIs. When they have been loaded once, the subsequent requests are made in the background asynchronously since they are present in `offline_cache_whitelist`, but we should consider sending cache=1&vary=0 query parameters to also not load them from the network at all if they were requested recently (cache=1 makes us return Cache-Control: max-age=180).
Status: NEW → ASSIGNED
Priority: -- → P2
Assignee: nobody → mpillard
OS: Linux → All
Priority: P2 → P3
Hardware: x86_64 → All
Target Milestone: --- → 2014-11-04
Version: 1.5 → Avenir
Fixed in https://github.com/mozilla/fireplace/commit/7c655e8ee40e1d948e3018f685a50c6cbadf2402
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Keywords: perf
Resolution: --- → FIXED
Please add STR here or mark it with [qa-] if no QA is needed.
Flags: needinfo?(mpillard)
Flags: needinfo?(mpillard)
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.