Hi, Drupal Gurus!

I need a buffer (cache) mechanism that can be configured to grab pieces of HTML or RSS feeds periodically and save it inside Drupal for the faster and error free (when remote URLs aren't accessible) display on my site.

Is there any ready to use module with this functionality? Or may be something similar to be used as a basis for the custom module?

Thanks,
Jacob.