On 1/18/11 10:26 AM, Ed Leafe wrote: > On Jan 18, 2011, at 1:07 PM, Paul McNett wrote: > >>> But, I will as you suggested - generate each and every >>> webpage. >> >> In a couple ways, this is the best way to go. You have a basically static >> site, why >> not serve up basically static files? You cut out a lot of per-hit overhead >> that way. > > > Well, most frameworks handle that via caching; if the page has no > dynamic components, it's rendered once and then held in the cache; subsequent > hits re-serve the same rendering. Dynamic pages are rendered per hit, as is > necessary. This way you get the best of both, but with no additional futzing > around.
Sure, but if the entire site is basically static anyway, then running each hit through the framework (even if the framework returns the cached page) is still overhead compared with having apache serve the file directly (or from its cache). Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

