A couple of years ago I wrote openuri-memcached, now there are a couple of libraries that will do the same kind of thing. One of which is rest-client-components (using rack-cache), this is great, but only if your gem uses rest-client.
I'll leave you do do your own research on that part, but you have a few http reverse proxy style transparent caches available to you. Good luck. On Sat, Jul 31, 2010 at 8:31 AM, Keith Pitt <[email protected]> wrote: > You can enable caching in your development environment - that could help. > > config.action_controller.perform_caching = true > > Keith > > > On Fri, Jul 30, 2010 at 11:16 PM, Michael Gall <[email protected]>wrote: > >> I've got an issue where I'm pulling a fair bit of stuff from an >> external API on each pageload (using the Fleakr gem.) On live I'm >> caching this really aggressively in the templates, but in development >> mode it grinds the pages to a crawl. >> >> How do people alleviate this problem short of commenting out the >> offending code in dev? >> >> Cheers >> >> Michael >> >> -- >> Checkout my new website: http://myachinghead.net >> http://wakeless.net >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby or Rails Oceania" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<rails-oceania%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/rails-oceania?hl=en. >> >> > > > -- > *Keith Pitt* > Web: http://www.keithpitt.com > Twitter: @keithpitt > Skype: keithpitt > Phone: +61 432 713 987 > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<rails-oceania%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rails-oceania?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" 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/rails-oceania?hl=en.
