Nginx FastCGI Cache Setup: Full-Page Caching Without a Plugin

A WordPress site on a small VPS can feel slow even when the server has plenty of CPU headroom. The usual cause is PHP: every visit runs WordPress, hits the database, and builds the page from scratch. A nginx fastcgi cache setup fixes that at the web server level. Nginx stores the finished HTML page … Baca Selengkapnya

Image Optimization Pipeline: cwebp and Nginx for Faster Page Loads

Image Optimization Pipeline: cwebp and Nginx for Faster Page Loads Images often carry most of the weight on a WordPress page. A single uncompressed photo can weigh more than the HTML, CSS, and JavaScript combined, and a gallery page can carry dozens of them. That is why cwebp nginx image optimization is a practical starting … Baca Selengkapnya

OPcache Setup Guide: PHP 8.3 Performance Tuning on Ubuntu

OPcache setup guide PHP 8.3 users on Ubuntu should read before they pay for a bigger VPS, because the biggest PHP speed win on a small server is often free. OPcache stores compiled PHP scripts in shared memory, so the server skips parsing and compiling on every request. The first request compiles the script, and … Baca Selengkapnya

What Is a Reverse Proxy and When Should You Use Nginx for It?

A reverse proxy is a server that sits in front of one or more backend servers and forwards client requests to them. The client talks to the proxy, the proxy talks to the backend, and the client never connects to the backend directly. This guide answers what is a reverse proxy in plain terms, explains … Baca Selengkapnya

How to Serve Multiple Domains From One Nginx Server

One Nginx server can host many websites. Each site gets its own server block with its own domain name, document root, and log files, while Nginx sorts incoming requests by the Host header and sends each one to the right block. This guide shows how to serve multiple domains from one Nginx server, from the … Baca Selengkapnya

Nginx Location Block Priority: How Request Matching Really Works

Nginx decides which location block handles a request through a matching process that surprises many admins. Two location blocks can both match the same URL, and the one that wins is not always the one listed first or the one that looks most specific. This guide explains nginx location block priority in plain terms: the … Baca Selengkapnya

How to Block Bad Bots and Scrapers With Nginx Rules

Every public web server gets visited by bots. Some are useful, such as search engine crawlers that index your pages. Others scrape content, probe for vulnerable paths, hammer login forms, or copy your whole site to resell it. This guide shows how to block bad bots and scrapers with Nginx rules, using the tools Nginx … Baca Selengkapnya