M
M
mihalich40402016-11-19 18:29:50
PHP
mihalich4040, 2016-11-19 18:29:50

Entire web page caching in PHP?

If now in modern programming it makes sense to use full page caching to reduce the load on the server? Those. save the full page cache and take data from there, and if the data changes, simply delete the file to update the page cache.
Now the load on hosting has increased and the question arose of moving to a VPS or doing a simple data caching in a couple of lines. Since the pages practically do not change and are updated no more than once a week. Only the counter +1 to view is used, which is recorded in the database.
I wonder if big projects like Facebook or VK use it? something like? Or let's say the Toaster itself? Since this is a fairly simple way to significantly reduce the load. Or is this method no longer modern and is solved simply by increasing resources? I did a lot of optimization of queries to the database, there is practically nothing to optimize there.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
entermix, 2016-11-19
@entermix

There is Nginx, for example, which can cache static content

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question