[web2py] 1 time async generation, pure HTML caching

2010-01-20 Thread frollings
Hi, I'm writing a simple statistic analysis system using web2py; when a user requests a stats page for a certain site, it will show 9 graphs. I want each of these 9 graphs to generate async (so the user sees 9 loading images which, randomly, turn into graphs when that specific graph is done), but

[web2py] Re: 1 time async generation, pure HTML caching

2010-01-20 Thread frollings
to > request the image the second time)? I assume the graphs are images. > Are they? > > On Jan 20, 10:01 am, frollings wrote: > > > Hi, > > > I'm writing a simple statistic analysis system using web2py; when a > > user requests a stats page for a certain site

[web2py] Re: 1 time async generation, pure HTML caching

2010-01-20 Thread frollings
urns the images. > > Mind that if you have a of these, caching in ram may cause a memory > leak. You probably should cache on disk or memcache (if available). > > On Jan 20, 11:30 am, frollings wrote: > > > Hi, > > > No not quite it, let me try to re-explain

[web2py] Re: 1 time async generation, pure HTML caching

2010-01-20 Thread frollings
280&h=179&u=web2py.com"/> > > So my guess is thathttp://traffic.alexa.com/graph > > does the caching and perahps also > >         if request.env.http_if_modified_since: raise HTTP(304) > > to avoid serving the image more then once to the same client. >

[web2py] Re: 1 time async generation, pure HTML caching

2010-01-20 Thread frollings
20, 4:55 pm, frollings wrote: > > > But it's not about the images only; it's about the entire block you > > see there; > > > Blocks are the blocks you see like; > > > - Basic Website Information > > - Traffic Graphs > > - SEO Graphs > > e

[web2py] Ajax question - selecting n items from a large dataset and storing them

2010-01-31 Thread frollings
Hi, What is the 'recipe' in web2py for this; I have models Recipes and Ingredients, now when fill in a Recipe I want to select n ingredients. Ofcourse the list of ingredients is much too large to make a dropdown of it and ofcourse it would be multi select. So I'm thinking of something like the Aj