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

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues 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:

  • #11800 Add support for versioning resources
  • #12059 Add support for caching of compressed resources
  • #12060 Add support for versioning resources

Issue Links:

  • #11776 Add ResourceHttpRequestHandler for efficiently serving static resouces ("depends on")
  • #15561 Enhance ResourceHttpRequestHandler with ResourceResolver strategy ("duplicates")

4 votes, 8 watchers

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants