Answer the question
In order to leave comments, you need to log in
Question about connecting a caching system?
Is it worth it to do what is described in this article? ruseller.com/lessons.php?id=1555&rub=37
And please give links to worthy materials on this topic, since I have 0 knowledge, I can’t determine what is good and what is bad
Answer the question
In order to leave comments, you need to log in
Read optimization.guide and here's some theory for you: You
can cache:
You can cache in files:
You can cache in the database:
You can also:
These are two opposing approaches that, if desired, can be mixed within the same project.
The cache can be stored:
You can combine different types of caching for different data. You can cache only the result of the work of functions (calculations, data), and do not touch the templates, you can do it together with templates , but then each change in the templates will reset the entire cache where it participates.
If you are using CMS/CMF - look at ready-made plugins for caching. If you do not have a sharing-hosting with a mini-site - take care of profiling (xhproof) and monitoring, this will help you understand where and what to cache.
It is also worth considering bytecode caching :
It is worth reading this article:
Drupal code execution speed comparison for PHP 5.3-5.6 and 7.0. "Battle of code optimizers" apc vs xcache vs opcache https://habrahabr.ru/post/264775/
Also worth it:
You can read here:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question