Tagged articles
resource-loading
22 articles · Page 1 of 1
This guide explains how to load files in Spring Boot 3 using the Resource abstraction, covering classpath, filesystem, and URL prefixes, @Value injection, direct Resource instantiation, dynamic loading with ResourceLoader, and bulk loading with ResourcePatternResolver, plus common pitfalls and best‑practice code examples.
JavaSpring Frameworkbackend-development
0 likes · 11 min read

This article presents nine practical methods for loading files from the resources directory in a Spring Boot project, covering ClassLoader, Class, Spring ResourceLoader, ResourceUtils, ApplicationContext, ServletContext, Java IO, NIO, and ClassPathResource approaches.
ClassLoaderFile I/OJava
0 likes · 7 min read

This article explains why a Spring Boot application fails to locate a template file when packaged as a JAR, details the step‑by‑step debugging process, and provides code solutions using ClassPathResource or PathMatchingResourcePatternResolver to correctly read resources inside the JAR.
BackendDebuggingJava
0 likes · 5 min read

This article presents a curated collection of 110 Spring Boot 3 practical examples, covering @Profile usage, PropertySource configuration, resource loading, bean validation, and automatic proxy creation, providing developers with hands‑on code snippets and clear explanations to enhance backend development skills.
AnnotationsBackendBean Validation
0 likes · 8 min read

This article explains the concepts of resource loading, preloading, lazy loading, conditional and batch loading in PHP, and provides detailed guidance on using autoloading mechanisms such as __autoload(), spl_autoload_register(), PSR‑4, and Composer to improve performance and maintainability of backend applications.
Autoloadingperformance optimizationresource-loading
0 likes · 16 min read


ByteFEMay 29, 2024 · Frontend Development
This article details a comprehensive set of frontend performance optimization techniques—including startup speed, resource loading, CPU/GPU rendering, dynamic FPS, batch merging, Spine animation, and memory profiling—applied to the 2024 Douyin Laughing China Year interactive projects to improve FMP, reduce draw calls, and prevent overheating and crashes on mobile devices.
Spine optimizationbatch mergingdynamic FPS
0 likes · 16 min read

The article explains how modern browsers let developers actively control resource loading order with Priority Hints and the fetchpriority attribute—using preload links, fetch requests, image tags, and script tags—to boost performance on limited bandwidth, while warning against overuse.
HTMLPriority HintsWeb Performance
0 likes · 18 min read

This article explains how directed acyclic graphs (DAGs) are applied in frontend development for resource loading optimization, component library construction, and task flow orchestration, and demonstrates a real-world implementation in Kuaishou's e‑commerce advertising engine with detailed architecture and code examples.
DAGFrontend Developmentcomponent library
0 likes · 14 min read

This article explains nine practical methods for reading files placed in the resources folder of a Spring Boot project, covering classloader resource retrieval, URL decoding, getFile(), getResourceAsStream, ClassPathResource, absolute paths, and environment‑variable based approaches, each with code examples.
File AccessJavaSpring Boot
0 likes · 9 min read

This article walks through three frontend case studies: capturing and reporting resource‑load errors and slow assets with global listeners and performance APIs, centralizing z‑index handling to prevent stacking‑context chaos, and demonstrating how a CSS transform on an ancestor changes the behavior and layering of position:fixed elements.
CORSCSS transformDebugging
0 likes · 11 min read

This article explains how to correctly load resources in Java using Class and ClassLoader getResource methods, compares their behavior, demonstrates batch resource retrieval, and shows how Spring's ResourceLoader and ResourcePatternResolver simplify resource access, providing practical code examples and best‑practice guidelines.
ClassLoaderJavabackend development
0 likes · 8 min read

This article analyzes the challenges of monolithic admin workbenches, explains how micro‑frontend architecture—especially the single‑spa library—addresses routing, state‑machine coordination, resource loading, and lifecycle management, and compares practical loader implementations using Ajax and tag‑based approaches for production environments.
Frontend Architectureloader designmicro-frontend
0 likes · 17 min read

This article details the end‑to‑end development of Douyin's National Day mini‑game, covering the Lynx + Cocos tech stack, core Cocos concepts such as ECS, node hierarchy, lifecycle, a step‑by‑step walkthrough of the star‑catcher demo code, background looping strategies, checkpoint transitions, character Spine animation, resource loading pipelines, custom bitmap fonts, and a series of performance optimizations for mobile deployment.
CocosJavaScriptLynx
0 likes · 28 min read

This article examines Garfish's micro‑frontend implementation by dissecting resource loading, HTML parsing, sandbox environment construction, and script execution, providing detailed code analysis and comparisons with Qiankun to reveal the core mechanics behind modern micro‑frontend solutions.
Frontend Architecturemicro-frontendresource-loading
0 likes · 12 min read

This article analyzes how landing‑page load speed impacts user experience and conversion, presents data‑driven measurements and key‑path breakdowns, and details practical frontend optimization methods—including container initialization, parallel billing, resource pre‑loading, and server‑ and client‑side pre‑rendering—to significantly improve performance across commercial ad flows.
Web Performancefrontendlanding page
0 likes · 10 min read

This article explains how Taobao’s front‑end engineers tackled the massive traffic of the 618 promotion by optimizing resource requests, data fetching, module loading, monitoring, and fallback strategies, ultimately achieving smooth, high‑performance pages for billions of shoppers.
Cachinge-commercemonitoring
0 likes · 10 min read

This article explains the Preload keyword, how it enables early loading and decoupled execution of web resources, compares it with speculative parsing, async, defer and HTTP/2 Server Push, and provides practical usage guidelines and browser compatibility information.
Browser Compatibilitypreloadresource-loading
0 likes · 9 min read

This article explains how to use the HTML preload attribute, distinguishes it from prefetch, shows how to detect browser support, outlines resource‑loading priority rules, and provides practical tips to avoid misuse and improve first‑paint performance.
Web Performancefrontendprefetch
0 likes · 7 min read

Loder is a lightweight, declarative web loader that optimizes resource‑task dependencies, enables ultra‑fast app startup, and provides performance tracking, helping developers overcome the limitations of traditional linear loading especially on constrained mobile devices.
JavaScriptWeb Performancefrontend
0 likes · 4 min read

This article explains why resource loading optimization is vital for mobile web development, shows how to measure page load speed with Chrome DevTools, breaks down the resource loading lifecycle, and provides practical solutions for queueing, high TTFB, and long download times.
Chrome DevToolsTTFBmobile performance
0 likes · 6 min read


ITPUBDec 1, 2015 · Mobile Development
This article shares Meizu’s team experience building hybrid Android‑H5 apps, covering product requirements, two resource‑loading strategies, the fis3‑based build pipeline, parallel development workflow, a fis3 plugin for switching mock and real code, and practical performance‑optimization tips.
Hybrid Appandroid integrationanimation
0 likes · 13 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
