<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>body { line-height: 1.5; }p { margin-top: 0px; margin-bottom: 0px; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style>
</head>
<body>
<div><span></span>HiŁ¬<span style="color: rgb(36, 39, 41); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: inherit; orphans: 2; widows: 2; background-color: transparent;">I am trying to configure varnish as a simple
 cache service, which means the content posted by clients could be cached as an object. The content chould be returned in responses for the coming GET requests(with same url...). I am not sure wether this can be realized by VCL configuration.</span></div>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-variant-ligatures: normal; font-stretch: inherit; line-height: inherit; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; vertical-align: baseline; box-sizing: inherit; clear: both; color: rgb(36, 39, 41); orphans: 2; widows: 2;">
Any recommendation for this situation? Thanks for any help!</p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-variant-ligatures: normal; font-stretch: inherit; line-height: inherit; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; vertical-align: baseline; box-sizing: inherit; clear: both; color: rgb(36, 39, 41); orphans: 2; widows: 2;">
I was noticed vmod-bodyaccess can cache req.body and then it could be used in bereq(<a href="https://info.varnish-software.com/blog/caching-post-requests-with-varnish" rel="nofollow noreferrer" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; box-sizing: inherit; color: rgb(0, 89, 153); cursor: pointer;">https://info.varnish-software.com/blog/caching-post-requests-with-varnish</a>),
 but I do not know how to put it into responses for clients.</p>
<div><br>
</div>
<div>thanks!</div>
<div>Zafir</div>
<hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span>
<div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<div>eyz12315@live.cn</div>
</div>
</span></div>
</body>
</html>