Answer the question
In order to leave comments, you need to log in
Is it true that when using template engines in php, the speed drops significantly?
Hello!
Is it true that when using template engines like tpl, the speed drops significantly in php?
Thank you.
Answer the question
In order to leave comments, you need to log in
There are two main points, 1) PHP itself is a template
BUT 2) The idea of template engines is to simplify the work with the code, for example, the same twig generates a PHP file and caches the result.
As a result, when caching the result of the work, it is not very important how quickly this very result is generated, the convenience of work is important.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question