Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Improve caching of jar file resources #203

Open
hcldan opened this issue Aug 11, 2014 · 0 comments
Open

Improve caching of jar file resources #203

hcldan opened this issue Aug 11, 2014 · 0 comments

Comments

@hcldan
Copy link
Member

hcldan commented Aug 11, 2014

#196 Introduces the ability to have classpath:// uri's. We end up needing to scan the contents of a jar for all of the resources in order to serve them up.

The ClasspathResourceFactory is recreated every time, and currently rebuilds the map of file resources in the jar.

Either we should refrain from making so many Factories (why are they not singletons?), or we should cache these resources properly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant