On 7/6/06, <b class="gmail_sendername">Brandon Black</b> <<a href="mailto:blblack@gmail.com">blblack@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> I really think it might as well just be a patch to the core<br>Catalyst::Response, as it does nothing unless you ask it to. </blockquote><div><br>I quite like the idea of it being in core. One thought about the patch: IIRC the POSIX module is quite heavy. Use HTTP::Date instead (part of libwww-perl) and it gets even simpler.
<br><br>sub no_cache {<br> ...<br> $self->header( 'Last-Modified' => time2str(gmtime);<br> ...<br>}<br> </div>Drew<br></div>-- <br>----------------------------------------------------------------<br> Drew Taylor * Web development & consulting
<br> Email: <a href="mailto:drew@drewtaylor.com">drew@drewtaylor.com</a> * Site implementation & hosting<br> Web : <a href="http://www.drewtaylor.com">www.drewtaylor.com</a> * perl/mod_perl/DBI/mysql/postgres<br>
----------------------------------------------------------------