From c6d50f417fd65600e2eacff57a0b3149749c7dc5 Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 7 Feb 2020 22:42:12 +0000 Subject: [PATCH] note that caches are useful --- SPEED.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SPEED.md b/SPEED.md index d6eee0b1..52687bec 100644 --- a/SPEED.md +++ b/SPEED.md @@ -8,6 +8,12 @@ enabled, so that images will be served straight from disk by the webserver instead of via PHP. If you're serving images via PHP, then your site might melt under the load of 5 concurrent users... +Add a Cache +----------- +eg installing memcached, then setting +`define("CACHE_DSN", "memcache://127.0.0.1:11211")` - a bunch of stuff will +get served from the high-speed cache instead of the SQL database. + `SPEED_HAX` ----------- Setting this to true will make a bunch of changes which reduce the correctness