L
L
lfoma2016-07-08 17:31:51
PHP
lfoma, 2016-07-08 17:31:51

Node.js how to arrange caching?

Good afternoon! I'm trying to think through the architecture of a web application and I can't figure out caching in any way.
What are the front-end practices for caching static html, caching data received via rest, caching dynamic elements needed by each user?
For example, in the header there is a menu with static categories, information about the current user. And on the product card page.
How, in this case, is it better to organize the storage of the cache, so that between different pages, the header does not have to be regenerated, and for different users not to generate a product card again?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question