Answer the question
In order to leave comments, you need to log in
Yii1 + Twig + block caching perhaps?
Good day to all.
Faced with the need to make Twig and Yii1 finally make friends in terms of output caching.
We need to cache a couple of heavy places in the views, but it turned out to be not so simple. What the documentation describes is not so easy to apply in Twig.
I found this component https://github.com/asm89/twig-cache-extension
But it is not very suitable for "take and use" together with Yii1 + uses Doctrine, which somehow also does not want to be dragged into the project without extreme needs.
Is there some more natural way to achieve a normal block cache?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question