Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added comment for WICKET-4509

...

PackageResourceReference is improved to be able to load a minified/compressed version of a resource.
By default in development mode the non-minimized resource is loaded (resource.ext) while in production mode it will try to load resource.min.ext by automatically inserting .min right before the extension. If there is no such resource with that name then it will fall back to the non-minified version.
This behavior can be configured with org.apache.wicket.settings.IResourceSettings#setUseMinifiedResources(boolean).

Files#getLocalFileFromUrl(URL) decodes url before returning file