Re: AddResource: how to prevent adding session id to stylesheet URL

2008-10-13 Thread Hassan Schroeder
On Mon, Oct 13, 2008 at 12:32 AM, Dave <[EMAIL PROTECTED]> wrote: > We are using AddResource to add stylesheet dynamically, like: > > addResource.addStyleSheet(context, AddResource.HEADER_BEGIN, "/main.css"); So, wouldn't this be a question for (guessing) a MyFaces list? :-) Doesn't seem remote

AddResource: how to prevent adding session id to stylesheet URL

2008-10-13 Thread Dave
Hi, We are using AddResource to add stylesheet dynamically, like:   addResource.addStyleSheet(context, AddResource.HEADER_BEGIN, "/main.css");   In the generated HTML, the current session id is in the URL, like:     This breaks web browser caching. Style sheet is static. We want browser to cache