mongrel-esi 0.5.1 caching and more!
Monday, June 16, 2008
mongrel-esi 0.5.1 caching and more!
Well, I'm out in California this week visiting my brother and helping my parents with the house. Not having a whole lot to do while we got grounded in Minneapolis, I worked on cleaning up mongrel esi. This new release checks for Surrogate-Control: max-age=xx, where xx is the amount of time in seconds you want to cache the page, it will still run the cached page through the ESI parser before serving it so any include tags that have expired will be refreshed. I'm measuring about a 2x improvement for cached pages. My sample page is now handling about 50 requests/second, up from 20 request/second. When I get back to a real network connection, I'll post some more numbers. For now please let me know if you find any bugs in this new release.
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment