Do you need to save temp files at all? Are the PNGs expensive to generate 
in R? Can you request raw bytes from R instead of saving to file?

I have a scenario that's similar to yours (not using R, though; I'm 
generating audio files), and I stream the bytes generated by the back end 
directly to the client with the appropriate content-type header.

You could also cache the results using Beaker if generating the PNGs is 
expensive.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pylons-discuss/-/OZTbhgIcSk8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to