154 articles
Knowledge Base
Performance
154 articles in the Performance category · page 5 of 7.
- LiteSpeed vs Apache: what changes, what stays, and what to measure A direct comparison of LiteSpeed and Apache covering compatibility, performance characteristics, configuration differences, and the metrics that actually matter.
- Vector for edge log shipping — collect, transform, fan out Deploy Vector as an edge log/metric shipper — sources, remap-language transforms, multi-sink fan-out, and the disk-buffered durability we wire in.
- Redis as an edge cache — when it fits and how to deploy it Using Redis as a regional or edge cache for application APIs — replicated read-replicas, geo placement, eviction, and where the pattern breaks.
- Profiling PHP in production with Blackfire and Tideways Compare Blackfire and Tideways for continuous PHP profiling in production, covering agent architecture, overhead, sampling modes, and integration with CI and alerting.
- PHP-FPM slow log: finding the requests that drag performance down Enable and parse the PHP-FPM slow log to identify slow stack traces, correlate them with application paths, and prioritise what to fix in production.
- Using Xdebug safely in production: step debugging without killing performance How to install Xdebug on a production server, gate it behind a trigger so it only activates per-request, and avoid the overhead that makes it dangerous by default.
- Varnish cache invalidation — purge vs ban vs xkey How to invalidate Varnish cache safely — when to use HTTP PURGE, when to use ban-list, and how xkey turns it into surgery instead of a sledgehammer.
- Installing OpenLiteSpeed on Ubuntu with SSL and virtual hosts Install OpenLiteSpeed on Ubuntu 22.04 LTS from the official repository, add LSPHP (LiteSpeed's own PHP build), and serve a virtual host over HTTPS. You will also lock down the WebAdmin console and wire the renewal hook so the server reloads a renewed certificate.
- Apache MPM tuning under load on cPanel/WHM Apache's prefork, worker, and event MPMs each behave differently under load. Most cPanel hosts default to one of them without knowing why — here is how to pick and tune.
- LSCWP Edge Side Includes: caching pages with dynamic user-specific blocks Use LSCWP ESI to cache full pages while serving personalized fragments — cart count, login widget, and greeting — dynamically per user.
- Composer optimizations for production: autoload, classmap, and cache How to squeeze maximum performance from Composer in production using classmap generation, APCu cache, and deterministic install flags.
- LSCWP page cache settings: what each option controls A field-by-field breakdown of every LiteSpeed Cache page cache option — what it does, the header it emits, and when to change the default.
- PHP memory_limit: measuring real consumption before you raise it Use memory_get_peak_usage(), Blackfire, and FPM slow-log to quantify actual PHP memory consumption before adjusting memory_limit in production.
- Installing Varnish Cache on Ubuntu A production-grade Varnish install on Ubuntu — packages, systemd overrides, listener, storage backend, and the operational checks before pointing a domain at it.
- Enabling Gzip and Brotli compression on cPanel/WHM Compression cuts transfer size by 60–80% on HTML, CSS, and JS, and every modern browser supports both. Here is how to turn it on under Apache, LiteSpeed, and Cloudflare.
- Calculating PHP-FPM pm.max_children without guessing Derive a correct pm.max_children value from measured worker RSS, available RAM, and competing services — no arbitrary defaults or copy-pasted numbers.
- Detecting and fixing PHP memory leaks in long-running processes PHP-FPM workers, queue consumers, and CLI daemons accumulate memory across requests. Identify real leaks from normal growth using RSS trends, gc_collect_cycles, and Xdebug.
- NVMe vs SATA SSD on cPanel hosts — what actually changes Moving cPanel hosts from SATA SSD to NVMe changes some things and not others. Here is what to expect, and what does not improve just by changing storage.
- Multi-region cache invalidation — fan-out without orphans How to invalidate a cache across regions when origin lives in one region and caches live in many — fan-out, idempotency, and convergence guarantees.
- LiteSpeed server-side cache: how LSCache works at the web server layer LSCache is a native LiteSpeed module that caches full HTTP responses inside the web server process — before PHP ever runs. Learn the architecture.
- Immutable headers for static assets on cPanel Cache-Control: immutable tells the browser the file at this URL never changes. For hashed asset filenames, this is a free performance win. Here is how to set it on cPanel.
- Installing LiteSpeed Web Server on a cPanel server Step-by-step guide to replacing Apache with LiteSpeed on a cPanel server, covering license setup, PHP handler binding, and post-install verification.
- LiteSpeed Cache WordPress plugin: install and initial configuration Install LSCWP from the WordPress plugin directory, wire the API key, and set the baseline cache options that make the plugin effective from day one.
- OPcache warm-up strategies: preloading and on-hit priming Eliminate cold-cache latency spikes after deploys by using preload scripts and request-driven priming to fill OPcache before production traffic hits.