Tagged articles
static resources
14 articles · Page 1 of 1
The article explains that Nginx and Spring Cloud Gateway serve distinct roles—Nginx as a network‑level gateway handling static assets, SSL termination, and load balancing, while Gateway focuses on business‑level routing and filters—making the two‑layer architecture both logical and efficient.
SSL OffloadingSpring Cloud Gatewayload-balancing
0 likes · 6 min read

The article explains that Nginx and Spring Cloud Gateway serve different roles—Nginx as a network gateway handling static files, load balancing, SSL termination, and ops tasks, while Gateway focuses on business routing—so using both together improves performance, scalability, and operational separation.
Spring Cloud Gatewaybackend architectureload-balancing
0 likes · 5 min read

This guide explains SpringBoot's default static resource locations, how to customize mappings for external file storage, configure access via application.yml, whitelist resources for Shiro or Spring Security, set browser caching, and implement a complete image upload and preview workflow.
CachingFile UploadSpring Security
0 likes · 7 min read

The article explains why static assets can still trigger CORS errors even after API endpoints are configured correctly, distinguishes data‑API versus static‑resource CORS, and shows how adding an Access‑Control‑Allow‑Origin header in Nginx resolves the problem.
CORSCross-OriginServer configuration
0 likes · 3 min read

After migrating a Spring Boot application from 2.x to 3.x, the “No static resource” error often appears because of Jakarta EE package changes and altered static‑resource configuration, and this guide walks you through the root causes, configuration updates, code changes, and practical debugging steps to resolve it.
CORSJakarta EESpring Boot
0 likes · 7 min read

This guide explains how to use @PathVariable to capture URL segments, configure static resource mapping for local files, and centralize path values in Spring Boot applications, providing code examples for request mapping, resource handler registration, and property injection.
JavaPathVariableSpring Boot
0 likes · 3 min read

This article details how Dada Delivery improved its mini‑program performance by addressing fragmented optimizations, stabilizing key metrics, and applying systematic actions such as static resource reduction, interface aggregation, startup page restructuring, and best‑practice codification, resulting in significant launch‑time reductions on both WeChat and Alipay platforms.
interface aggregationmini-programstartup
0 likes · 13 min read

This article explains how Spring Boot serves static resources from default locations, how to customize static path patterns and resource locations, handle Webjars, configure content negotiation with parameters and custom media types, and integrate template engines such as Thymeleaf, FreeMarker, and Mustache.
Content NegotiationSpring Bootstatic resources
0 likes · 8 min read

This article provides a step‑by‑step guide to installing Nginx, explains core directives such as listen, server_name, location, and proxy_pass, and covers advanced topics including rate limiting, load balancing methods, keepalive connections, static resource handling, CORS, and anti‑hotlinking configurations.
Configurationload-balancingrate limiting
0 likes · 15 min read

The article chronicles the development of static resource services—from early ASP examples and static‑dynamic separation to modern CDN, cloud storage, URL handling, online concatenation, and multi‑region deployment—highlighting technical decisions, performance trade‑offs, and future challenges for front‑end infrastructure.
CDNCephFrontend Infrastructure
0 likes · 34 min read

This tutorial explains how Spring Boot handles static resources, covering the default classpath directories, a simple manual file‑stream approach, and ways to customize resource locations using Java configuration or application.yml, with code examples and practical URLs.
JavaSpring Bootbackend development
0 likes · 7 min read

Meituan’s Scan‑to‑Pay H5 app uses ThunderJS and a dedicated Build Service to deliver character‑level incremental JavaScript updates, switching to Myers’ algorithm, isolating computation in a Mixer service, caching results, and adding timeout recovery, which cut data transfer up to 99%, reduced 90th‑percentile latency from 5.8 s to 90 ms, and raised success rates above 99%.
Build ServiceFront-endWeb Performance
0 likes · 17 min read

This guide explains how Spring Boot serves static assets from classpath directories, how to configure and access them, and how to render dynamic HTML pages using Thymeleaf—including template locations, sample code, and property customizations for seamless web development.
Spring BootTemplate EngineThymeleaf
0 likes · 7 min read

The article discusses static resource management and a template framework to optimize front‑end performance by collecting resource requirements via require, widget, and script tags, deduplicating them, placing CSS in the head and JavaScript at the bottom, and enabling on‑demand loading while reducing HTTP requests.
On-Demand LoadingTemplate EngineWeb Performance
0 likes · 11 min read
