title: How to check/test whether application is not caching on browser?
body: <p>I have written a <code>class CacheControlFilter implements javax.servlet.Filter</code>
  to set header to make sure that the application is not caching. have done entry in the web.xml also</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;filter&gt;
      &lt;filter-name&gt; Cache controller filter&lt;/filter-name&gt;
      &lt;filter-class&gt;com.filter.CacheControlFilter&lt;/filter-class&gt;
  &lt;/filter&gt;
  &lt;filter-mapping&gt;
      &lt;filter-name&gt;Cache controller filter&lt;/filter-name&gt;
      &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
  &lt;/filter-mapping&gt;
  </code></pre>
  
  <p>please suggest me how to check/test whether this is working or not?
  let me know if you want more information about the same.</p>