~/talk

Resource Handling in Spring MVC 4.1

Talkat SpringOne2GX 2014 · 2014-09-08..09-11· [web-platform, web-performance]
slides:none on file

Spring MVC 4.1 adds a resource pipeline that computes content-based fingerprinting for URLs, provides a resource resolver chain (path, gzip, version, cached) plus transformers to rewrite CSS and appcache links, and exposes a resource URL provider and encoding filter for view integration. The recommended practice is build-time optimization with gulp + bower + npm and shipping optimized assets as a JAR on the classpath; spring.io runs this in production and records 100+ deploys in a few months, confirming the approach works.

AI-written summary · about

  1. 0:00Introduction to Resource Handling
  2. 2:00Spring MVC Resource Basics
  3. 4:39Resource Optimization Goals
  4. 6:37URL Fingerprinting Explained
  5. 9:45Asset Pipeline vs Build Tasks
  6. 13:00Spring.io Website Refactoring
  7. 16:55Modern Client-Side Development
  8. 21:21Tooling and Build Integration
  9. 24:29Development vs Production Profiles
  10. 27:27Source Maps and Build Layouts
  11. 30:43Modularizing Client and Server
  12. 33:42Serving Resources in Production
  13. 37:56Real-world Production Experience
  14. 39:27Resource Handling Demo Setup
  15. 41:47Gulp and Gradle Demo
  16. 45:24Build Process Explanation
  17. 48:26Flexibility and Future Trends
  18. 50:50Server-Side Support in Spring
  19. 53:22Resolvers and Transformers
  20. 55:11Built-in Resolution Strategies
  21. 56:52Public URL Provider
  22. 58:43Rendering Links in Views
  23. 1:01:13Advanced Versioning Techniques
  24. 1:02:36Drawing the Line on Runtime
  25. 1:05:43Supporting Full Asset Pipelines
  26. 1:06:56Server-Side Config Demo
  27. 1:09:21AppCache and Cache Configuration
  28. 1:11:12Resource Chain and Profiles
  29. 1:15:10Final Demo and Caching
  30. 1:19:15Q&A and Closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.