NYCPHP Meetup

NYPHP.org

[nycphp-talk] not including '.php' in URI

Ajai Khattri ajai at bitblit.net
Wed Mar 22 11:12:26 EST 2006


Tim McEwen wrote:
>
> As far as speed goes,  the amount of time to call a script  with or  
> without the file extension is fairly small.  In deciding whether to  
> use file extensions or not we used ab to benchmark the two:
>
> Without .php extension:   22.46 requests per second,  44.53  ms per  
> request
> With .php extension:   22.54 requests per second,  44.36 ms per request
>
> It was a small enough difference not to matter to us.

Of course, on a shared web host, the performance hit would probably be 
much greater.




More information about the talk mailing list