Tag

Image Optimization

0 views collected around this technical thread.

macrozheng
macrozheng
Jan 9, 2025 · Cloud Native

How to Shrink Docker Images from 1.16 GB to 22 MB: Step‑by‑Step Optimization

This article explains Docker fundamentals, outlines why containers are popular, and walks through a practical example of reducing a React app's Docker image size from 1.16 GB to 22 MB using a lightweight Alpine base, multi‑stage builds, and an Nginx final stage.

AlpineContainerizationDocker
0 likes · 8 min read
How to Shrink Docker Images from 1.16 GB to 22 MB: Step‑by‑Step Optimization
Java Tech Enthusiast
Java Tech Enthusiast
Dec 5, 2024 · Cloud Native

Optimizing Docker Images for Lightweight Deployment

By switching to a lightweight Alpine base, employing multi‑stage builds to separate compilation from runtime, and finally serving the React app with an Nginx Alpine image, Docker images can be reduced from over a gigabyte to roughly twenty‑two megabytes, enabling efficient, minimal‑footprint container deployment.

AlpineContainerizationDocker
0 likes · 6 min read
Optimizing Docker Images for Lightweight Deployment
Selected Java Interview Questions
Selected Java Interview Questions
Dec 5, 2024 · Cloud Native

Docker Image Slimming for ReactJS Applications: A Step‑by‑Step Guide

This tutorial demonstrates how to reduce Docker image size for a ReactJS project by switching to Alpine‑based Node images, applying multi‑stage builds, and finally serving the static build with Nginx, shrinking the image from over 1.4 GB to just 22 MB while preserving functionality.

ContainerizationDockerImage Optimization
0 likes · 7 min read
Docker Image Slimming for ReactJS Applications: A Step‑by‑Step Guide
Code Mala Tang
Code Mala Tang
Nov 9, 2024 · Cloud Native

Master Dockerfile: Essential Commands and Optimization Tips for Lean Images

This guide explains Dockerfile fundamentals, key instructions, and best‑practice techniques—such as using minimal base images, reducing layers, leveraging multi‑stage builds, and securing secrets—to help you create smaller, faster, and more secure container images.

ContainerizationDevOpsDocker
0 likes · 10 min read
Master Dockerfile: Essential Commands and Optimization Tips for Lean Images
Java Tech Enthusiast
Java Tech Enthusiast
Oct 4, 2024 · Cloud Native

Slim – Docker Image Optimization Tool Overview

Slim (DockerSlim) is an open‑source tool that automatically shrinks Docker images by statically analyzing the image, dynamically probing runtime file and network usage, and rebuilding a minimal image containing only required dependencies, thereby reducing size up to 30×, speeding deployments, lowering attack surface, and supporting CI/CD integration across many languages.

CI/CDDockerImage Optimization
0 likes · 13 min read
Slim – Docker Image Optimization Tool Overview
iQIYI Technical Product Team
iQIYI Technical Product Team
Feb 8, 2024 · Mobile Development

Image Format Optimization and Deployment Practices at iQIYI: From JPG to AVIF

iQIYI optimized its app’s visual experience by progressively replacing JPG with WebP, HEIC, and finally AVIF—using a caplist‑driven CDN, self‑developed decoders and on‑demand production pipelines—to cut image sizes, reduce CDN bandwidth by over 30 % and maintain quality across static, transparent and animated assets.

AVIFHEICImage Formats
0 likes · 19 min read
Image Format Optimization and Deployment Practices at iQIYI: From JPG to AVIF
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 31, 2024 · Frontend Development

Optimizing Image Loading in WeChat Mini Programs: WebP Conversion, Resolution Adjustment, Sprites, and Lazy Loading

This article demonstrates how to dramatically reduce image size and loading time in a WeChat mini‑program by converting to WebP, adjusting resolution via OSS parameters, using CSS sprites, and implementing lazy‑load placeholders, with before‑and‑after performance data and reusable component code.

Image OptimizationOSSWeChat Mini Program
0 likes · 10 min read
Optimizing Image Loading in WeChat Mini Programs: WebP Conversion, Resolution Adjustment, Sprites, and Lazy Loading
php中文网 Courses
php中文网 Courses
Dec 21, 2023 · Frontend Development

Implementing Image Lazy Loading in PHP: A Step‑by‑Step Guide

This article explains how to implement image lazy loading in PHP by extracting image URLs, generating placeholder tags with data-src attributes, monitoring scroll events via JavaScript, and applying CSS transitions, providing a step‑by‑step guide with complete code examples to improve page load performance.

Image OptimizationJavaScriptfrontend
0 likes · 5 min read
Implementing Image Lazy Loading in PHP: A Step‑by‑Step Guide
Efficient Ops
Efficient Ops
Nov 5, 2023 · Cloud Native

Boost Dockerfile Efficiency: Faster Builds, Smaller Images, Cleaner Containers

This guide explains how to write efficient Dockerfiles by using .dockerignore, minimizing layers, combining RUN commands, selecting lightweight base images, cleaning up after installations, setting proper WORKDIR and CMD, leveraging ENTRYPOINT with exec, preferring COPY over ADD, and applying multi‑stage builds to achieve faster builds and smaller, more maintainable images.

DockerDockerfileImage Optimization
0 likes · 20 min read
Boost Dockerfile Efficiency: Faster Builds, Smaller Images, Cleaner Containers
php中文网 Courses
php中文网 Courses
Oct 7, 2023 · Backend Development

Improving Website Image Load Speed with PHP-FPM Optimization: Compression, Lazy Loading, CDN, Parallel Loading, and Browser Caching

This article demonstrates how to accelerate website image loading by applying PHP‑FPM performance optimizations such as image compression with GD, jQuery lazy loading, CDN acceleration, multithreaded parallel fetching, and proper browser‑cache headers, providing complete code examples for each technique.

Image OptimizationPHPcdn
0 likes · 5 min read
Improving Website Image Load Speed with PHP-FPM Optimization: Compression, Lazy Loading, CDN, Parallel Loading, and Browser Caching
Efficient Ops
Efficient Ops
Aug 7, 2023 · Cloud Native

How to Optimize Dockerfiles for Faster Builds and Smaller Images

This guide explains practical Dockerfile optimization techniques—including using .dockerignore, minimizing layers, choosing lightweight base images, consolidating RUN commands, setting proper WORKDIR/CMD, leveraging ENTRYPOINT with exec, preferring COPY over ADD, and applying multi‑stage builds—to dramatically speed up image builds and reduce final image size.

DevOpsDockerDockerfile
0 likes · 21 min read
How to Optimize Dockerfiles for Faster Builds and Smaller Images
Baidu App Technology
Baidu App Technology
Jul 25, 2023 · Mobile Development

HEIC Image and Unused Class Optimization in Baidu iOS App

The article details Baidu’s iOS bundle‑size reduction strategy by converting PNG/JPG assets to HEIC using macOS tools or ImageMagick, storing them in Asset Catalogs for iOS 10+ compatibility, handling alpha‑channel quirks, and employing combined static‑link‑map and runtime class‑initialization analysis to safely prune unused Objective‑C classes.

Asset CatalogDynamic AnalysisHEIC
0 likes · 27 min read
HEIC Image and Unused Class Optimization in Baidu iOS App
Baidu Geek Talk
Baidu Geek Talk
Apr 24, 2023 · Mobile Development

Image Optimization Techniques for Baidu iOS App: Unused Image Removal, Asset Catalog, and HEIC Encoding

The article details Baidu’s iOS image‑size reduction strategy, combining automated detection and removal of unused PNG/WebP assets, migration to Xcode’s Asset Catalog for lossless compression, and selective conversion to HEIC format, which together shaved roughly 9.75 MB from the app bundle.

Asset CatalogHEICImage Optimization
0 likes · 18 min read
Image Optimization Techniques for Baidu iOS App: Unused Image Removal, Asset Catalog, and HEIC Encoding
Bilibili Tech
Bilibili Tech
Mar 21, 2023 · Backend Development

AVIF Image Format Research, Implementation, and Optimization at Bilibili

At Bilibili, extensive research showed AVIF can cut thumbnail size by about 35% versus WebP, prompting a layered implementation that uses libheif/libaom encoding with fallback WebP, client‑side libavif decoding, comprehensive monitoring, and solutions for encoding latency, while planning hardware acceleration and continued standard‑setting contributions.

AVIFBilibiliImage Optimization
0 likes · 26 min read
AVIF Image Format Research, Implementation, and Optimization at Bilibili
iQIYI Technical Product Team
iQIYI Technical Product Team
Feb 17, 2023 · Cloud Native

Optimizing Large Docker Images for iQIYI Video Transcoding: Differential Build, On‑Demand Download, Deduplication, and Distribution Strategies

iQIYI’s video transcoding team cut its Docker image size from 18 GB to 9 GB and build time from 30 minutes to under five by layering differential builds, on‑demand downloads, library deduplication, node pre‑warming with gray releases, and P2P distribution via Dragonfly, all without requiring developer changes.

CI/CDDifferential BuildDocker
0 likes · 9 min read
Optimizing Large Docker Images for iQIYI Video Transcoding: Differential Build, On‑Demand Download, Deduplication, and Distribution Strategies
Efficient Ops
Efficient Ops
Nov 14, 2022 · Cloud Native

Boost Your Docker Images: Proven Tips to Shrink Size and Speed Up Builds

Learn practical Dockerfile optimization techniques—including clean build contexts, selecting minimal base images, configuring domestic package mirrors, setting correct timezones, using virtual build environments, minimizing image layers, and consolidating file additions—to dramatically reduce image size, improve build speed, and avoid common pitfalls.

Build TipsDockerDockerfile
0 likes · 16 min read
Boost Your Docker Images: Proven Tips to Shrink Size and Speed Up Builds
ByteFE
ByteFE
Oct 31, 2022 · Backend Development

Image Optimization for ISV Pages: Offline Compression, WebP Conversion, and Batch Processing

This article details a systematic approach to reducing image sizes for ISV‑generated pages, covering offline compression, WebP conversion, data structure design, batch processing pipelines, monitoring, and fallback strategies, while providing code examples and performance comparisons.

Image Optimizationbackendbatch processing
0 likes · 26 min read
Image Optimization for ISV Pages: Offline Compression, WebP Conversion, and Batch Processing
Efficient Ops
Efficient Ops
Jul 14, 2022 · Operations

Essential Docker Image Building Tips to Shrink Size and Speed Up Builds

This article presents practical Dockerfile optimization techniques—including clean build contexts, lightweight base images, regional package mirrors, timezone configuration, virtual build environments, and layer minimization—to dramatically reduce image size and improve build efficiency.

AlpineDockerDockerfile
0 likes · 15 min read
Essential Docker Image Building Tips to Shrink Size and Speed Up Builds
NetEase LeiHuo Testing Center
NetEase LeiHuo Testing Center
Feb 11, 2022 · Cloud Native

Docker Image Principles, Common Pitfalls, and Best Practices for Service Websites

This article explains the rationale behind Dockerizing internal service websites, outlines principles for creating stateless and self‑contained images, compares build‑time approaches, critiques a flawed Dockerfile with detailed issue analysis, and presents an improved Dockerfile along with practical deployment guidelines.

ContainerizationDevOpsDocker
0 likes · 14 min read
Docker Image Principles, Common Pitfalls, and Best Practices for Service Websites
ByteFE
ByteFE
Jan 7, 2022 · Frontend Development

Curated Frontend Development Resources and Articles

This collection presents a variety of recent frontend‑focused articles and tutorials—including WebGPU fundamentals, low‑code implementation principles, Esbuild performance tricks, design‑pattern insights, TypeScript type programming, NestJS dependency injection, Pinia state management, image‑loading optimization, and Immer.js immutable data handling—each accompanied by QR‑code links to the original sources.

Image OptimizationNestJSPinia
0 likes · 7 min read
Curated Frontend Development Resources and Articles