Can always only use database NPC's as cache, and store the actual information in files. Upon a server crash, the DB simply reloads the information stored in those files.
http://forums.graalonline.com/forums...ad.php?t=81961
Check functions_cached_database.txt if you want an awesome system for it.