---
title: "ehcache 缓存策略"
author: "dmwdmc"
date: "2014-10-30T13:44:45Z"
tags: []
categories: ["Web前端"]
slug: "ehcache"
draft: false
lastmod: "2014-10-30T13:45:07Z"
id: 2149670
url: "https://dmwdmc.iteye.com/blog/2149670"
---

目前页面缓存策略有3种，FIFO, LRU, LFU.

 

ehcache 中，我们可以在互联网电商系统网站中用

memoryStoreEvictionPolicy="LFU"

 

如果在管理系统等内部系统中应该用

memoryStoreEvictionPolicy="LRU"