On Thu, 20 Jul 2006, John Peacock wrote: > 1) load the data file from a module and just touch the module after > updating the data, then let Mason's automatic caching deal with the reload;
Mason won't reload the module, you need to use Apache::Reload for that. > Any other suggestions that people have already used? Originally, this > data was in a MySQL database, but I was trying to eliminate the use of > an external database for performance purposes. Stat the file to determine if it should be reloaded? If it's newer than the saved last mod time, reload it. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users