![]() ESN 74110-090213-991249-78 |
|
Document Name: What a difference a (static) page makes Document Description: What a difference a (static) page makes2009/02/13 As convenient as it is to drive pages with cgi scripts, I had to partially give up on that because this shared web server just couldn't handle all the forks. That's not the fault of the hosting company; it's just that I've been getting too much traffic now and then. So today I began converting some pages to static pages - no dynamic content except for the ads. Of course I didn't do this manually - I wrote Perl scripts to handle the work. However, I did it partially manually because I wanted to take this opportunity to update meta tags where needed. The scripts I wrote would show me the current tags and give me the choice of editing them or just doing the conversion. I spent a few hours on this and converted 77 files to static pages. Just 77 out of more than 13,000? How's that going to help? It will help more than you might think: those 77 pages accounted for more than half of all traffic here last month. Just converting those will cut the number of cgi-bin forks in half. I can actually see that instantly in "w" - I haven't seen such low load averages in years! This conversion does mean that I had to give up on the fly counting of page views.. that's not so important. I like to know that information, but it's not critical. I can live without it. Other than that, everything should look pretty much the same and will load faster when we're getting pounded on a little. That's worth the effort. I'll slowly convert other pages as I have some other reason to edit them.. I'll probably never get to 100% static but I don't need to right now anyway. So this gives me some breathing room - we can grow a little bit more before I have to move off shared hosting. Author: Anthony Lawrence - Contact Author Publisher: Anthony Lawrence Licensee Name: Anthony Lawrence Reference URL: http://aplawrence.com/Web/static_pages.html Copyright: All Rights Reserved Registration Date: 2/13/2009 11:46:07 PM UTC Views: 115 |
