note that caches are useful

This commit is contained in:
Shish 2020-02-07 22:42:12 +00:00
parent 5a8d2be90a
commit c6d50f417f

View File

@ -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 instead of via PHP. If you're serving images via PHP, then your site might
melt under the load of 5 concurrent users... 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` `SPEED_HAX`
----------- -----------
Setting this to true will make a bunch of changes which reduce the correctness Setting this to true will make a bunch of changes which reduce the correctness