On Jun 18, 2009, at 4:58 PM, Daniel Black wrote:

>
> Sorry I meant to write/ask this earlier but is there a reason for  
> choosing
> size vs mtime?
>

I guess the main reason is that the filesize() call is cached, and the  
stat() call isnt. You do not want to do stat() calls on all included  
files for every single page load. I suppose you could cache the stat  
info yourself, but as Thomas said, in practice filesize() is good  
enough.

_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to