Sorry for the very late response - the message went into the spam.
I'm just talking about the initial page of course.
On Wed, Jan 22, 2014 at 8:57 AM, Koen Deforche <k...@emweb.be> wrote:
> Hey Jan,
>
> Meta headers only work for HTML pages, so in Ajax applications they can
> only be presented to the browser for the initial page. In JWt (and Wt) this
> only is possible when using a progressive bootstrap mode.
>
> The no-cache headers however are added by JWt (and Wt) directly to the
> HTTP response(s) so there is no need for you to do this yourself. Are you
> seeing cases where this is not working properly?
>
> Regards,
> koen
>
>
> 2014/1/16 Jan Goyvaerts <jan.goyvae...@noesissolutions.com>
>
>> Hi there,
>>
>> Is it possible JWT ignores meta headers ? We're trying to set headers to
>> make sure IE does no caching at all. A classic I presume. :-)
>>
>> *WApplication.addMetaHeader("cache-control", "max-age=0");*
>> *WApplication.addMetaHeader("cache-control", "no-cache");*
>> *WApplication.addMetaHeader("expires", "0");*
>> *WApplication.addMetaHeader("expires", "Tue, 01 Jan 1980 1:00:00 GMT");*
>> *WApplication.addMetaHeader("pragma", "no-cache");*
>>
>> The aforementioned code has no effect on the generated html page.
>>
>> The mystery is elucidated when looking to the source code. It maintains a
>> list of meta headers, but nowhere is this list used to build pages.
>> Moreover it is assumed the meta header names are unique for each page.
>> However, in order to cope with different browsers, the same meta header
>> must be repeated. Each header targets a different browser.
>>
>> Is this on the roadmap of JWT ?
>>
>> Regards,
>>
>> Jan
>>
>>
>>
>> ------------------------------------------------------------------------------
>> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>> Learn Why More Businesses Are Choosing CenturyLink Cloud For
>> Critical Workloads, Development Environments & Everything In Between.
>> Get a Quote or Start a Free Trial Today.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>> _______________________________________________
>> witty-interest mailing list
>> witty-interest@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>
>>
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
--
===============================================================
Jan Goyvaerts
Senior Software Engineer
*Noesis Solutions NV *Gaston Geenslaan 11, B4
3001 Leuven, Belgium
+32 (0)16 317 040 phone
+32 (0)16 317 048 fax
jan.goyvae...@noesissolutions.com
www.noesissolutions.com
===============================================================
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest