JFinal在線手冊
/ ehcache.xml 簡介
ehcache.xml 簡介
EhCache 的使用需要有 ehcache.xml 配置文件支持,該配置文件中配置了很多 cache 節(jié)點, 每個 cache 節(jié)點會配置一個 name 屬性,例如:<cache name="blog" …>,該屬性是 CacheKit 取值所必須的。其它配置項如 eternal、 overflowToDisk、timeToIdleSeconds、 timeToLiveSeconds 詳見 EhCache 官方文檔。