guardian / guardian/dotcom-rendering

Spike: Football scores header caching

Open
#15,630 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
274
Forks
34
Avg merge
2d 22h
Merged PRs (30d)
121

Description

The purpose of this ticket is to investigate whether we can do more caching in the webview to reduce client-initiated requests for the header / scores and tabs and to ascertain how this benefits slower mobile connections on web as well as behaviour in the iOS and Android app, which is currently where we are seeing the poorest performance.

In particular, once the scores header has loaded and rendered, it may not need to be re-rendered every time the user navigates to a new tab and the view changes.

Please look at:
- Whether this can be cached in a meaningful way rather than loaded on request every time
- Limitations and risks, especially around cache invalidation during live matches to ensure live content doesn't go stale
- Whether there are approaches that could help on both iOS and Android in particular, or if there might be other options we should explore than caching to improve performance

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.