Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
8.5.0
-
None
Description
If ConcatBundleResource is used in conjunction with LastModifiedResourceVersion, it will concatenate its resources for every request, even if unchanged.
The reason for this is, that LastModifiedResourceVersion#getVersion uses only lastModified of the getResourceStream call to determine a version. But getResourceStream of ConcatBundleResource collects (and compresses) for that call already.
This effectively cancels out any time saved by using the class in the first place.
It should only collect and build the actual content "on demand".