<div dir="ltr">This is the regex that i use and for me it worked when testing with YSlow<br>location ~* ^.+\.(jpg|jpeg|gif|png)$ {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; access_log&nbsp;&nbsp; off;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; expires&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 30d;<br>}<br><br><br><div class="gmail_quote">
On Sat, Sep 6, 2008 at 11:36 AM, David <span dir="ltr">&lt;<a href="mailto:mishy.cth@gmail.com">mishy.cth@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks for your replies.<br>
<br>
Chris I gave that a shot, but am testing the site with Firebug &amp; YSlow (dunno if<br>
you&#39;ve used them but it&#39;s a Yahoo thing that isolates slowdowns on page loads<br>
and makes recommendations.<br>
<br>
When I use:<br>
<div class="Ih2E3d"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;location ~* \.(jpg|jpeg|gif|css|png|js|ico|html)$ {<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;access_log &nbsp; &nbsp; &nbsp; &nbsp;off;<br>
</div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;expires &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2d;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;}<br>
<br>
The expires header is not working.<br>
<br>
<br>
</blockquote></div><br></div>