Skip to content

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

Closed
@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issuetype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions