Annotate
mod_readonly/README.markdown @ 5276:67777cb7353d
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).
author |
Kim Alvefur <zash@zash.se> |
date |
Sun, 26 Mar 2023 14:37:42 +0200 |
parent |
3437:ce5d1fa69ba3 |
rev |
line source |
3437
|
1 This module blocks configured queries that change server state.
|
|
2
|
|
3 E.g. to make vCard storage read-only:
|
|
4
|
|
5 ``` lua
|
|
6 readonly_stores = {
|
|
7 vcard = { "vcard-temp", "vCard" };
|
|
8 }
|
|
9 ```
|