dave seah: better living through new media Filter Navigation Temporary Redirect Page Personal Articles Productivity Articles Compact Calendar The Printable CEO Series The Printable CEO Series Back to Home Page Admin:Login

Lazy Image Layout 0.40

POSTED 03/02/2006 UNDER Gweeping

Another update to Lazy Image Layout, finally adding the ability to delete cached thumbnail files. This was a problem for users who didn't control their servers, especially when they uploaded a new version with the same filename.

What finally forced my hand was that my installation, running WordPress under CGI wrapper, was getting pretty darn sluggish. Though tech support said that the CGI wrapper shouldn't slow down the server noticeably, I'm pretty sure that it does because it has to load a separate instance of PHP for every access to every page. I believe if PHP runs as a module within Apache, there is much less thrashing of resources. We'll see how it goes tomorrow...I'm hopeful that the site will be more responsive now.

Of course, if I run PHP as module, all the scripts run as user nobody, which means that I can't delete them manually from the shell. I didn't know how to do this through PHP at the time I first frankencoded LZIL together, but now I do. Yay!

Go to the Lazy Image Layout page to download the new version.

Thank you for printing this article! Please note that all material on this website is copyrighted by either David Seah or individual comment contributors. To request permission for republication and distribution, please contact David Seah (http://davidseah.com/contact).