Closed Bug 1193867 Opened 9 years ago Closed 8 years ago

Update Tiles data in a Service Worker

Categories

(Firefox :: New Tab Page, defect, P1)

43 Branch
defect

Tracking

()

RESOLVED FIXED
Iteration:
43.3 - Sep 21
Tracking Status
firefox43 --- affected

People

(Reporter: oyiptong, Assigned: emtwo)

References

Details

Use a service worker registered in the remotely hosted newtab page to fetch and store data from the Tiles service.

update channel and locale data will be provided on boot-up.
This involves moving the fetch logic from DirectoryLinksProvider.jsm into the service worker code
Assignee: nobody → msamuel
How are directory tiles fetched/cached in new React version of newtab?
Flags: needinfo?(khudson)
Priority: -- → P1
Directory tiles are obtained with fetch directly from a URL (https://tiles.services.mozilla.com/v3/links/fetch/${locale}/${channel}); the service worker will cache/intercept all network requests, but prefer the network response if it is available.
Flags: needinfo?(khudson)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.