<div dir="ltr"><div dir="ltr"><span style="color:rgb(153,153,153);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;white-space:pre-line">Currently I'm using these lines to configure http caching within my Nginx: location /schools { expires 2d; add_header Cache-Control public; ... } </span><input name="virtru-metadata" type="hidden" value="{"email-policy":{"state":"closed","expirationUnit":"days","disableCopyPaste":false,"disablePrint":false,"disableForwarding":false,"enableNoauth":false,"expires":false,"isManaged":false},"attachments":{},"compose-id":"5","compose-window":{"secure":false}}"></div><br><div class="gmail_quote" style=""><div dir="ltr">On Sun, Jan 13, 2019 at 7:57 PM Richard Demeny <<a href="mailto:richarddemeny@gmail.com">richarddemeny@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">browser cache = client-side cache.<div><br><div>nginx cache = server-side cache.</div><div><br></div><div>Set cache expiry flag ?</div><div><br>On Sunday, January 13, 2019, shahzaib mushtaq <<a href="mailto:shahzaib.cb@gmail.com" target="_blank">shahzaib.cb@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>We've a location like /school for which we want to set browser cache lifetime as 'current month'. Suppose /school is accessed on 10th January, its cache should be valid until end of January not 10th February and if accessed on 25th February its validity must be until the end of February month.</div><div><br></div><div>Is it possible in Nginx ?</div><div><br>Regards.<br>Shahzaib</div></div>
</blockquote></div></div>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a></blockquote></div></div>