Use Varnish And Esi With Yii

Hi,

I’m trying to use Varnish and ESI to cache different components on a page, but I don’t know where to start.

My understanding is that ESI is supported by Yii, however I couldn’t find any example how could I configure Yii to use ESI or any example code which uses ESI in Yii.

Does anyone know or did that before?

Thanks in advance!

Izzy

I have not seen ESI implemented with yii. You might have to implement the logic yourself

Thanks, I couldn’t find it anywhere as well. Will see what I can do with it. Cheers