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

Improve handling of static resources [SPR-7400] #12058

Closed
spring-projects-issues opened this issue Jul 27, 2010 · 1 comment
Closed

Improve handling of static resources [SPR-7400] #12058

spring-projects-issues opened this issue Jul 27, 2010 · 1 comment
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) status: duplicate A duplicate of another issue type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jul 27, 2010

Jeremy Grelle opened SPR-7400 and commented

Building on the newly added ResourceHttpRequestHandler, the following advance features should be re-considered:

  • Minification should be applied to text-based resources where possible e.g. .js (should be possible to disable)

  • Resource bundling should be supported. This provides the ability to load multiple resources in one HTTP request, which can improve performance.

  • Resource versioning should be supported. This causes clients to refresh cached resources when a new version of the application is deployed. This prevents clients from working with stale content after deployment of a new version. (should be possible to disable, when disabled no caching should be performed)

  • The ability to serve GZip compressed resources should be further expanded to consider disk-cached pre-compressed versions of the resources


Affects: 3.0.4

Sub-tasks:

Issue Links:

4 votes, 8 watchers

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Feb 10, 2011

Oliver Siegmar commented

Please also see http://www.i-develop.be/blog/2010/07/30/spring-mvc-3-0-http-cache-control-headers/ which is also related to improve the caching situation in annotation based controllers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) status: duplicate A duplicate of another issue type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants