Presented by Martyn Smith
Places to think about performance:
- Minifying CSS/JS
- Far-future expires, unique filenames
- Reduce Requests (use caching)
Try using YSlow (a Firebug extension)
- Latency. Your server may take a millisecond, but the network may take a second for round trip.
- CGI is very inefficient. Lots of overhead. Look at mod_perl and Plack, since they do all the overhead ahead of time, and stay alive, rather than loading/unloading repeatedly
- Minimize queries
- Persistent connections
- use faster sources, like caches
Martyn has no experience with Koha before the other day, but did some testing with CGI and FastCGI. Scaling for multiple requests gets 567ms for startup, 25ms for each execution!
- Migrate to FastCGI or PSGI/Plack
- where possible, cache dynamic content at the whole-page level
- Isolate static files, provide a mechanism to serve them independently
[Originally posted by Ian Walls]