WordPress › Extend › Ideas — Get WordPress Offline

There’s already a plugin doing that. WP-Offline

http://immike.net/blog/2007/06/04/wordpress-plugin-wp-offline/