How to do it right? There is news that is taken from the news123.html cache and on the page to the list of comments with a page selector, for example, 100 comments, and 10 pages, i.e. 1 page = 10 comments
How to cache this file correctly? Suppose I deleted part of the comments, so what? It is necessary to rebuild the list of pages, in mysql I used SELECT with LIMIT 0 10 and in the cache file as?