Hi, Tech list wrote: > I want to have a fairly "static" hash that I load from a database and > access globally. This hash rarely ever changes so I wanted to avoid > hitting the database at every request. What are my best options for > doing this?
Another alternative if you have access to edit your handler is to define the hash inside a module and then "use ModuleName;" inside your handler. I don't know if this is a good way to do it...but so far, it seems ok. Ray ------------------------------------------------------------------------------ _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users