serviceworker-cookbook/render-store/README.md

534 B

Render Store

The recipe demonstrates one recommendation from the NGA. A cache containing the interpolated templates in order to avoid model fetching and render times upon successive requests.

Difficulty

Intermediate

Use Case

As a web app developer, I want to minimize the load time for revisited resources.

Solution

Use an offline cache to store the template once it's completely rendered and use this copy upon next requests.

Category

Performance