Closed Bug 1631595 Opened 2 years ago Closed 2 years ago

Make it possible to cache the about:home document at shutdown

Categories

(Firefox :: New Tab Page, task, P3)

task

Tracking

()

RESOLVED FIXED
Firefox 77
Tracking Status
firefox77 --- fixed

People

(Reporter: mconley, Assigned: mconley)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

This bug is for adding a (preffed-off by default) mode to AboutHomeStartupCache that writes the cache at shutdown.

In the long run, we might want to do something smarter than just writing on shutdown, but we can start here and tune as we go.

This also re-orients the cache a little bit so that cache writing is
initialized in the parent process rather than the content process.

In the future, we might want to move the repsonsibility of scheduling
the cache write in the content process, especially if more of the
Redux state gets generated there. This will do for now, however.

Attachment #9141887 - Attachment description: Bug 1631595 - Make it possible to write to the AboutHomeStartupCache on shutdown. r?Gijs! → Bug 1631595 - Make it possible to write to the AboutHomeStartupCache periodically and on shutdown. r?Gijs!
Priority: -- → P3
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/150895da5fbb
Make it possible to write to the AboutHomeStartupCache periodically and on shutdown. r=Gijs
https://hg.mozilla.org/integration/autoland/rev/e79cd835c30c
Modify ActivityStreamMessageChannel and AboutNewTab to allow for periodic about:home caching. r=k88hudson
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 77
You need to log in before you can comment on or make changes to this bug.