Friday, June 20, 2014

Streaming files to IE8? You may want this.

An easy XPages tip for a lazy Friday...

Got SSL?

Streaming files using an XAgent?

You're gonna' get an error unless you do something like this:

if(context.getUserAgent().isIE(8, 8)==false){
   response.setHeader("Cache-Control", "no-cache");
}

Apparently IE8 don't like no caching when streaming files over SSL.