wicket-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject No caching for PackageResourceStream
Date Fri, 15 Feb 2019 13:44:26 GMT
Hi,

Anyone knows why there is no caching of PackageResourceStreams at
https://github.com/apache/wicket/blob/7bef3d67c8ccc269f02e8943bf9a22c3cd5438e9/wicket-core/src/main/java/org/apache/wicket/core/util/resource/locator/caching/CachingResourceStreamLocator.java#L94
?

I think it was me who introduced this cache but I have no idea why I
haven't added support for PRS.
Package resources are the most used resources in Wicket so the benefit
should be big.

I will implement it and see whether something breaks in the tests and
-examples, but if you know the reason please let me know!

Martin

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message