Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PathMatchingResourcePatternResolver should not re-resolve root URLs [SPR-14202] #18776

Closed
spring-issuemaster opened this issue Apr 21, 2016 · 0 comments
Assignees
Milestone

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Apr 21, 2016

Juergen Hoeller opened SPR-14202 and commented

PathMatchingResourcePatternResolver calls Resource.getURL() on root resources several times. For ClassPathResource, this leads to re-resolution of ClassLoader.getResource which can be expensive. Initially resolving each root resource into a UrlResource, like we do for Equinox bundles already, should help here.


Referenced from: commits 65a8f5e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.