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


Has it been useful?

Tell us what you think of this recipe by leaving a comment!