How to solve the caching problem when rendering on the server side

vue and react use ssr (server-side rendering) to solve seo and first-screen rendering solutions.
this extends the problem. 80% of the data after http or other network requests is duplicated, and http caching is also a big problem?
how do you solve the problem, file, memory, database.
after the following analysis, it is concluded that the file is the most appropriate. The database also goes through the network, otherwise it will be modified to socket or http request, and the database is not suitable for performance comparison, especially when I run the server rendering server through the container.
memory, which is not appropriate if the data is large.

how do you solve the cache problem?

`


1. Page caching is time-limited, and server rendering is not recommended for real-time and new pages.
2, server cache and browser cache can be set or completely disabled.

reference: Nginx cache settings link description H5 page cache settings link description

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2c60a-2b289.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2c60a-2b289.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?