I'm working on a bit of code much similar to the barcode caching
example but it seems that the cache is a bit sporadic for me when
trying to cache image data:

headers['Cache-Control'] = 'public; max-age=2592000'
send_data @data, :disposition => 'inline', :type => "image/png"


It seems to need a few calls before it caches properly and then it
tends to call the controller again every few minutes. Any idea how I
can solve this?

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
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/heroku?hl=en.

Reply via email to