title: How to Clear All Cache in Play Framework 2.1
body: <p>So I'm using Play's built in cache API as seen here: <a href="http://www.playframework.com/documentation/2.1.x/JavaCache" rel="nofollow">http://www.playframework.com/documentation/2.1.x/JavaCache</a></p>
  
  <p>In my code I've already set the cache to expire every 10 minutes. I am also using the session cache style.</p>
  
  <p>So my main question is, since it's gonna be really hard to keep track of all cache, how do I clear all of the cache? I know that using Play's default cache is minimal but it's working perfectly for me at this point. I just want the ability to clear the cache once in awhile just in case too many sessions are made and somewhere in my code it's piling up the caches.</p>