ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Two Servlet Filters Every Web Application Should Have
Subject:   null suffix on CacheFilter files?? are they working?
Date:   2003-12-11 22:40:33
From:   jfalkner
Response to: null suffix on CacheFilter files?? are they working?

Yes. If you check out the code, the null value is coming from a check for i18n specific headers. The filter is designed to work with a website that uses the same URL (e.g. index.jsp) for several different languages. The technique used is to persist i18n specific headers as part of the cached file's name. The null is a result of an optional HTTP header that wasn't used, and it should prevent the cache filter from working properly.