Static assets can be read from inside the jar

Static assets preload feature is not compatible with class loader resource reading.
Static assets now restricts access to the public folder only.