Re: Patch for simple walk caching
Wari Wahab <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
> I turned on entryshelve caching which helped some, and this cache > patch helped a lot. Hey Ted, if you do some timing calculations, I'd believe that the entrypickle could be faster than entryshelve (probably depends on the DB library). Entryshelve does have locking issues as well, which may not be desirable with concurrent access. There are other ways to speed up access to your site. One could make the frontpage and the RSS access as static pages, since it's the one being hit the most. Permalinks (comment pages) could of course be dynamic, since only one file is queried. Once the front page is static (you can extend this to monthy, and category archives), your only worry is updated comment counts on the front page. There are many ways to solve this problem, using javascript, for example to call up a comment counter program that just do 'document.write(num_comments)' after reading a comment count of a particular entry. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/