On Mon, Sep 9, 2013 at 11:18 AM, Martin Grigorov <mgrigo...@apache.org>wrote:

> Hi,
>
> At the moment when a PackageResource is requested in production mode Wicket
> always re-reads the file from the disk, then executes any
> ITextResourceProcessor on it and finally delivers it.
> This is true for normal resources and for bundles. I just filled
> WICKET-5344 - bundles does all this twice per request.
>
> My question is: should Wicket do all this again and again for each request
> or we may add some caching which can be switched on/off with a new setting
> in IResourceSettings ?
>
> The benefits are:
> - reading from memory is faster than from disk
>

The OS will cache these very efficient, so unless the actual processing on
them (bundles?) is cpu intensive, you probably won't win that much ?

Reply via email to