In case you ever want to archive a site for offline use, you can use wget to make a copy of the site for you. Thanks to minimallinux who outlines how to do so.
I came across a need to take a cakePHP dynamically generated site and turn it into a collection of HTML files. After some trial and error I came across httrack which fit the need beautifully (thanks to this site for pointing me there.)
To install httrack run the following (for ubuntu-based distros)
sudo add-apt-repository ppa:upubuntu-com/web
sudo apt-get update
sudo apt-get install webhttrack httrack
Oncne httrack is installed simply launch it from the command line:
Follow the prompts and in no time you’ll have a folder with static HTML files for your entire website. Easy!