Hi
Whats the best way for creating fast non static images request/response?
Using 
GET(self):
   return open('image').read() 

uses IO is it better to read and store all the images in a dict and what is 
the best buffer to store the images with?
images = {}
images[image] = open('image').read() 

GET(self,image):
  return images[image]




-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/webpy/-/01X0h54DdgkJ.
To post to this group, send email to webpy@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to