Menu

Commit [r685]  Maximize  Restore  History

Added cache for application settings (Setting model).

Once the values are cached, only one database query is done at each user request (to check if the cache is still valid).

jplang 2007-08-31

changed /trunk/app/controllers/application.rb
changed /trunk/app/models/setting.rb
added /trunk/db/migrate/065_add_settings_updated_on.rb
/trunk/app/controllers/application.rb Diff Switch to side-by-side view
Loading...
/trunk/app/models/setting.rb Diff Switch to side-by-side view
Loading...
/trunk/db/migrate/065_add_settings_updated_on.rb Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.