Add-on for Boost to cache images

Events happening in the community are now at Drupal community events on www.drupal.org.
gravelpot's picture

I would like to use Boost to create a completely exportable site mirror (as detailed in the Boost Handbook at http://drupal.org/node/583264#rsync). But Boost does not cache images, only HTML, CSS, and JS.

I have already mostly completed work on a module that uses Boost's hook_boost_preprocess() hook to grab the images out of the page being cached, and then adds some lines to the generated .htaccess rules to handle the additional file types. The user can list which image file types will be cached, based on file extensions.

I would be willing to put some extra work into integrating this functionality into the main Boost module if that seemed like a good idea, or I'm happy to put it out there as its own add-on.

Any feedback?

Comments

Files Directory

mikeytown2's picture

Copy the files directory sites/default/files and your 1/2 there. The final steps would be to copy the image & other files in themes & modules.
Also see:
http://drupal.org/project/html_export
http://drupal.org/project/savetoftp

Contributed Module Ideas

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: