Sinon, tu as déjà réussi à utiliser les fonctionnalités ESI ?
►http://www.varnish-cache.org/trac/wiki/ESIfeatures
Parce que je pensais : si on parvient à utiliser ESI, il sera très facile de faire placer des ordres d’insertion ESI directement par microcache. Et avec ton #purge, même récupérer ma fonctionnalité d’effacement du microcache.
Puis... tester pour voir si ça a le moindre intérêt en terme de performances.
la technique de posterous semble correspondre à ton cas
►http://technology.posterous.com/making-posterous-faster-with-varnish
ESI Language Specification 1.0
►http://www.w3.org/TR/esi-lang
Edge Side Includes (ESI) is an XML-based markup language that provides a means to assemble resources in HTTP clients. Unlike other in-markup languages, ESI is designed to leverage client tools like caches to improve end-user perceived performance, reduce processing overhead on the origin server, and enhanced availability. ESI allows for dynamic content assembly at the edge of the network, whether it is in a Content Delivery Network, end-user’s browser, or in a “Reverse Proxy” right next to the origin server.
À essayer avec #Varnish.
La doc des fonctionnalités #ESI dans #Varnish :
►http://www.varnish-cache.org/trac/wiki/ESIfeatures
Controlling Varnish ESI inside your application ►http://blog.raspberry.nl/2010/07/05/controlling-varnish-esi-inside-your-application
Bon, pour l’instant, je n’arrive pas du tout à activer ESI dans mon Varnish.