Tag

static assets

0 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Jan 22, 2025 · Frontend Development

Implementing a Webpack Plugin for Incremental CDN Upload with Caching

The article explains how to build a custom Webpack plugin that uploads compiled static assets to a CDN, rewrites public‑path references to CDN URLs, and employs a hash‑based cache file to skip unchanged files, cutting build time from 40 seconds to 17 seconds in large projects.

Webpackbuild optimizationcaching
0 likes · 11 min read
Implementing a Webpack Plugin for Incremental CDN Upload with Caching
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 18, 2024 · Frontend Development

Persisting Frontend Static Resources in Containerized Deployments

The article explains why static assets of a single‑page frontend application disappear after a container restart, analyzes the root cause, and presents a practical solution that stores assets on an external file server or CDN while keeping only index.html inside the container, thereby eliminating 404 errors caused by missing resources.

Containerizationcdndeployment
0 likes · 13 min read
Persisting Frontend Static Resources in Containerized Deployments
Go Programming World
Go Programming World
Jul 14, 2024 · Backend Development

Embedding Static Resources in Go with //go:embed

Since Go 1.16, the //go:embed directive allows developers to embed files, directories, or entire static assets directly into the compiled binary, simplifying deployment; this article explains the directive, its three embedding methods, usage in HTTP servers, unit tests, handling parent directories, and important considerations.

Goembedgo1.16
0 likes · 24 min read
Embedding Static Resources in Go with //go:embed
Tencent Cloud Developer
Tencent Cloud Developer
Mar 27, 2023 · Cloud Computing

Tencent Video Image Optimization: AVIF Compression and Sampling to Reduce Static Bandwidth Costs

Tencent Video slashed static image bandwidth costs by over 60% using AVIF compression and on‑the‑fly image sampling, which together cut average image size by more than half, reduced memory, latency and decode time, and saved tens of millions of yuan across billions of daily requests.

AVIFTencent Cloudbandwidth optimization
0 likes · 14 min read
Tencent Video Image Optimization: AVIF Compression and Sampling to Reduce Static Bandwidth Costs
Wukong Talks Architecture
Wukong Talks Architecture
May 18, 2022 · Frontend Development

How I Restored My Website After a jsDelivr CDN Outage

The article recounts a real‑world CDN failure that broke the passjava.cn site, explains what a CDN is, and details step‑by‑step recovery actions—including downloading assets, using alternative storage, and refreshing a new CDN—to get the site back online.

cdncloud storagefrontend
0 likes · 5 min read
How I Restored My Website After a jsDelivr CDN Outage
Practical DevOps Architecture
Practical DevOps Architecture
Dec 15, 2020 · Backend Development

Understanding Static and Dynamic Resource Separation with Nginx

Static and dynamic resource separation, commonly known as static‑dynamic separation, involves deploying static files (HTML, JavaScript, CSS, images) on a web server like Nginx while forwarding dynamic requests to a backend application server via reverse proxy, thereby improving static asset delivery speed and enabling parallel front‑end and back‑end development.

Frontend‑Backend SeparationNginxReverse Proxy
0 likes · 3 min read
Understanding Static and Dynamic Resource Separation with Nginx
Architects Research Society
Architects Research Society
Sep 27, 2019 · Frontend Development

Deploying a Frontend Application on Nginx and Configuring a Reverse Proxy

This guide explains how to install Nginx on Linux, serve a built Angular/React/Vue frontend from the server's static directory, and configure Nginx as a reverse proxy to forward API requests to a backend service, completing the setup with a service restart.

Frontend DeploymentNginxReverse Proxy
0 likes · 5 min read
Deploying a Frontend Application on Nginx and Configuring a Reverse Proxy
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Oct 12, 2018 · Frontend Development

Design, Advantages, and Architecture of Static/Dynamic Separation

The article explains the concept of static/dynamic separation, compares deployment methods such as Nginx and CDN, discusses domain strategies, outlines its benefits and drawbacks, and presents an architecture suitable for high‑traffic static content delivery.

APINginxcdn
0 likes · 7 min read
Design, Advantages, and Architecture of Static/Dynamic Separation