FAQ: performance and Velocity
This page answers the performance questions public bodies ask about Exponential. It gives no speed figures of its own: measure your own site. The answers come from Velocity web server, Caches and Benchmarking.
Contents
- How fast is Exponential?
- What is Exponential Velocity?
- Do we have to use Velocity?
- How does caching work?
- Can it take a traffic spike?
- Can we put a CDN in front?
- How do we measure it ourselves?
How fast is Exponential?
It depends on your design, content, caches, engine and hardware. Ask bidders to measure your site under your expected load, and write the result into acceptance tests. How published figures are measured is explained for the press in How Velocity figures are measured.
What is Exponential Velocity?
A web server written in PHP that runs Exponential from a pool of long-lived PHP processes. It speaks HTTP/1.1, HTTP/2 over TLS and WebSockets, serves static files and caches pages in its own process; it needs no Apache, nginx or PHP-FPM in front, though it works behind them (Velocity web server).
Do we have to use Velocity?
No. Apache or nginx with PHP-FPM and FrankenPHP are supported too (8. Serving the site). The project recommends Velocity (the Exponential glossary). Velocity runs on PHP 8.0 or later (from its release 0.0.4.54; until then 8.1).
How does caching work?
Several caches work together: view cache for pages, template block caches, and optional static cache and Velocity's response cache; Setup > Cache management lists them (Caches, Caching layers).
Can it take a traffic spike?
Caches carry most of the load. Preload them before an announced event (Preloading caches), consider static cache or a reverse proxy, and run several web nodes for more capacity (Several web nodes). See Emergency alert readiness.
Can we put a CDN in front?
Yes; HTTP cache headers and reverse proxies are documented for hosts (CDN, HTTP cache headers).
How do we measure it ourselves?
With exp:benchmark: pages over HTTP, comparisons between engines and guards against regressions
(Benchmarking, Benchmarking a hosted site).
Related pages
- Government FAQ
- Performance and caching
- Velocity for hosts
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.