Open dtruffaut opened 8 years ago
h2o cache aware server push (http2-casper) is a brilliant feature, that performs very well for assets.
... But there is currently no cache mechanism for the caller : the html document.
Please provide a proxy cache directive to be able to cache/microcache the result of the back-end response.
See also : NginX proxy cache https://www.nginx.com/resources/wiki/start/topics/examples/reverseproxycachingexample/ https://www.nginx.com/blog/nginx-caching-guide/ https://www.nginx.com/blog/benefits-of-microcaching-nginx/ https://www.nginx.com/resources/admin-guide/nginx-tcp-ssl-upstreams/
+1 maybe mruby and a Redis backend could be a solution?
Thank you for the suggestion. Cache is something nice to have.
Until it gets implemented, you should implement your own using mruby, as suggested by @bax- .
h2o cache aware server push (http2-casper) is a brilliant feature, that performs very well for assets.
... But there is currently no cache mechanism for the caller : the html document.
Please provide a proxy cache directive to be able to cache/microcache the result of the back-end response.
See also : NginX proxy cache https://www.nginx.com/resources/wiki/start/topics/examples/reverseproxycachingexample/ https://www.nginx.com/blog/nginx-caching-guide/ https://www.nginx.com/blog/benefits-of-microcaching-nginx/ https://www.nginx.com/resources/admin-guide/nginx-tcp-ssl-upstreams/