1. 12 11月, 2015 1 次提交
    • J
      Add caching for ApplicationSetting, Ci::ApplicationSetting. · 2e4a673c
      Jason Lee 提交于
      ApplicationSetting.current was called in every pages, cache it and expires it after it updated.
      
      This changes will avoid a SQL query in every pages (~0.3 - 0.5ms).
      
      ```SQL
      SELECT  "application_settings".* FROM "application_settings"   ORDER BY "application_settings"."id" DESC LIMIT 1
      ```
      2e4a673c
  2. 10 9月, 2015 1 次提交
  3. 26 8月, 2015 1 次提交