Global ValuesValues stored GloballyValues which are used frequently are considered to be moved into the global.asax class. Most of these objects originate from a database call and are relatively small. Keeping these in the global.asax ensures that only one instance of these classes are created and allows them to be relatively available for every request. The only object in the global values which uses a large amount of memory is the list of all items in the library ( Item_Lookup_Object ) but this class is used very often for rendering search and browse results, as well as validating a particular item exists in the library. When the number of items in the library grows, this object's placement in the global values will be reconsidered. The table below lists all the objects defined in the global.asax class.
Global Value CreationThese global values are created when the web application is loaded into memory by the The list of items is refreshed every fifteen minutes from the database. Whenever the list is successfully pulled from the database and reloaded, the Last_Refresh value is set again as well. |