On Mar 15, 2011, at 11:59 AM, Paul Libbrecht wrote:
On Mar 15, 2011, at 8:24 AM, Marius Dumitru Florea wrote:
On 03/14/2011 07:33 PM, Paul Libbrecht wrote:
[...] (the magic with the addition that has to take place in set took me some time...
ggrrrrr)
You could have used the
>
http://velocity.apache.org/tools/devel/generic/MathTool.html .
Thanks for the suggestion Marius, unfortunately, the math-tool is not available in
xwiki-1.5-curriki...
Le 15 mars 2011 à 08:31, Vincent Massol a écrit :
Paul, would be great to add this as a snippet on
http:/extensions.xwiki.org ... :)
Thanks for the suggestion, done at:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Caching-Headers
Thanks. The title says:
"a simple example of exposing correct caching headers"
Which suggests that the default way xwiki does it is wrong and this is a patch.
Could you explain more in the snippet when someone would use this snippet vs not doing
anything (ie do what XWiki provides by default)?
Thanks
-Vincent