mod_readonly/README.markdown
author Kim Alvefur <zash@zash.se>
Sun, 26 Mar 2023 14:37:42 +0200
changeset 5280 67777cb7353d
parent 3441 ce5d1fa69ba3
permissions -rw-r--r--
mod_http_oauth2: Pedantic optimization Checking the length of the string seems like 30% more expensive than comparing it with the empty string (by reference, probably).

This module blocks configured queries that change server state.

E.g. to make vCard storage read-only:

``` lua
readonly_stores = {
	vcard = { "vcard-temp", "vCard" };
}
```