AnsweredAssumed Answered

Webscript response cache not expires

Question asked by alessandro.origgi on Jul 21, 2009
Latest reply on Dec 8, 2010 by kevinr
I have redefined the class which return the document downloaded, this class extends AbstractWebscript
What i have to do is to set expiration for the cache but it seems to not work, the document is cached and the cache does not expire, any idea?

         Cache cache = new Cache();
         //cache.setETag("\"" + Long.toString(modified.getTime()) + "\"");
         FileCopyUtils.copy(convertedfile, res.getOutputStream());