07 2014 档案

Rails.cahche
摘要:defself.top_tenRails.cache.fetch("top_ten_searches_cache",:expires_in=>1.day)doSearch.order("count DESC").limit(10).allendend 阅读全文

posted @ 2014-07-03 10:41 leonworld2011 阅读(101) 评论(0) 推荐(0)

导航