The problem is that easy if you have a complete control over what you are caching.
Complete control over cache may look a challenging task however with use of cache dependency you can lower it significantly. Take a look here: http://packages.python.org/wheezy.caching/userguide.html#cachedependency If you have a willing to go even further consider take a look at content caching: http://packages.python.org/wheezy.http/userguide.html#content-cache Serving static page out of your data is not that impossible... there are still exceptions, of cause. Thanks. Andriy ---------------------------------------- > To: python-list@python.org > From: stefan...@behnel.de > Subject: Re: Fastest web framework > Date: Sun, Sep 2 :::::: +0<<< > > Andriy Kornatskyy, ......2 :::::: > > If we take a look at web application we can split it into at least two > > parts, one that renders things out and the other one that does data > > extraction, e.g. from database (this is what you are pointing at). > > > > If you made a first call to database you get your list and can easily > > cache it. The next call IS without impact that database call may > > cause... but you still keep serving pages out... > > Well, if it was really that easy, you wouldn't be using a database in the > first place but static pages, would you? > > Stefan > > -- > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list