M
M
MUTOgen4eg2015-01-22 22:33:22
Yii
MUTOgen4eg, 2015-01-22 22:33:22

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

1 answer(s)
S
Sergey, 2015-01-22
Protko @Fesor

doctrine/cache has nothing to do with ORM, if that's what you mean. take and use.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question