On 27 May 2012 08:28, Paul Moore wrote:
>> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/TempResourceAction.java
>> and you have a nice way of serving image files stored on the disk to the
>> HTTP client. Unfortunate
On 27 May 2012 04:11, Sergiu Dumitriu wrote:
>
> Some resources that you can use:
>
> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-cache/xwiki-platform-cache-api/src/main/java/org/xwiki/cache/CacheManager.java
> is the proper way of creating caches. You de
On 05/26/2012 08:52 AM, Paul Moore wrote:
I am writing a macro that performs a relatively expensive calculation
to generate content for display (a PNG image) based on user input. The
basic macro works fine, but I'd like to cache the generated content to
save recalculating it when I don't need to.
On 26 May 2012 14:02, Ludovic Dubost wrote:
> Paul
>
> Check the cache macro which you can use inside your own macro
>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Cache+Macro
Interesting, thanks. I'm not quite sure how it would work in practice,
it seems that I'd end up with macros nes
Paul
Check the cache macro which you can use inside your own macro
http://extensions.xwiki.org/xwiki/bin/view/Extension/Cache+Macro
Envoyé de mon iPhone
Le 26 mai 2012 à 14:52, Paul Moore a écrit :
> I am writing a macro that performs a relatively expensive calculation
> to generate content f
I am writing a macro that performs a relatively expensive calculation
to generate content for display (a PNG image) based on user input. The
basic macro works fine, but I'd like to cache the generated content to
save recalculating it when I don't need to.
My idea is that I generate a SHA1 digest o