}

Articles tagged "optimization"

8 min readIntermediate

Docker Multi-Stage Builds: From 1.2GB to Production-Ready Images (2026)

Docker multi-stage builds tutorial 2026. Reduce Python images from 1.2GB to 120MB, Go binaries to 5MB with FROM scratch. Size comparison table, cache optimization, and GitHub Actions integration.

10 min readIntermediate

PostgreSQL EXPLAIN ANALYZE: Fix Slow Queries with Proper Indexes (2026)

Master PostgreSQL EXPLAIN ANALYZE in 2026. Read query plans, create B-tree, partial, GIN, and expression indexes. Real case study: 30-second query reduced to 50ms step by step.

7 min readIntermediate

How to Reduce Docker Image Size: Multi-Stage Builds and Best Practices (2026)

Reduce Docker image size in 2026 with multi-stage builds, Alpine base images, .dockerignore, layer caching, RUN chaining, and the dive tool. Before/after examples included.

2 min readBeginner

JavaScript Links: # vs javascript:void(0)

In this article we explain the differences of using "#" or "javascript:void(0)" in the href attribute. We warn you that for modern javascript you should avoid using this values in the href since it's a bad practice.