title: How to store cache data inside WEB-INF Directory in Production for Grails?
body: <p>I am using cache and ehcache plugin. I have configured ehcahe.xml as follow </p>
  
  <pre><code>&lt;ehcache name="backEndData"&gt;
  &lt;diskStore path="user.dir/src/main/webapp/cache"/&gt;
  
    &lt;defaultCache
        maxElementsInMemory="0"
        maxElementsOnDisk="10000"
        eternal="false"
        overflowToDisk="true"&gt;
    &lt;/defaultCache&gt;
  &lt;/ehcache&gt;
  </code></pre>
  
  <p>It is working in development environment perfectly but how to make this working after deploying war file.</p>