On Wed, Apr 10, 2013 at 4:41 PM, BlueShadow <kevin.bet...@gmail.com> wrote:
> migrations are false and lazy tables are true. > I tried to do something with cache.ram (for another app) which had no > effekt at all perfhaps I did it wrong. > consider moving code to (imported) modules #I started on it when I > realised I was using request.folder in my sitemap funktion which I > currently have in a module (which isn't that smart I know thats one of the > first things I will change) > I dont see nothing wrong in using request.folder, in a module you will use from gluon import current current.request.folder > I don't know how to deal with those two points: > 5. Add session.forget for methods which don't use the session object. > #when I dont use session.something I can add the session.forget to the > beginning of the controler? > In your homepage you are serving 10 images, at least, in fast_download controller, here it's safe to put session.forget() if not already. It will allow concurrent request from the same browser. > 6. Enable connection pooling depending on the database. #no idea what to > do here > pool_size - it's an argument to DAL db = DAL(...., pool_size=x) > > haven't tried any of those: > compile the app #haven't tried > As LightDot said, do it. Ricardo -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.