Hi All,<div><br></div><div>I'm trying to understand expires headers and cache control better, maybe someone can help?</div><div><br></div><div>our configuration file has:</div><div><br></div><div><div> location ~* \.(jpg|jpeg|gif|png|ico|css|js)$</div>
<div> {</div><div> error_page 404 = /404.php;</div><div> expires 31d;</div><div> }</div></div><div><br></div><div>Which I understand to mean that for these file types, the expiration header should be set to 31 days from today. However, when I load the site, it looks like its being set 1 day ahead. </div>
<div><br></div><div>I've also seen a lot of examples which use "add_header <span class="Apple-style-span" style="font-family: monospace; font-size: 12px; color: rgb(85, 85, 85); line-height: 17px; white-space: pre; ">Cache-Control private;" but I don't understand what this actually means?</span></div>
<div><span class="Apple-style-span" style="font-family: monospace; font-size: 12px; color: rgb(85, 85, 85); line-height: 17px; white-space: pre; "><br></span></div><div><span class="Apple-style-span" style="font-family: monospace; font-size: 12px; color: rgb(85, 85, 85); line-height: 17px; white-space: pre; ">Thanks for any input / help.</span></div>