Skip to content

Commit 61200f3

Browse files
committed
Update recommended-settings.md
1 parent e069644 commit 61200f3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/recipes/recommended-settings.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
],
1313
"categories":[
1414
"server"
15+
],
16+
"related": [
17+
"lucee-lockdown-guide",
18+
"supercharge-your-website",
19+
"local-scope-migration",
20+
"deploying-lucee-server-apps"
1521
]
1622
}
1723
-->
@@ -67,6 +73,14 @@ For the best performance in production, "Inspect Templates" should be set to `ne
6773
}
6874
```
6975

76+
Simply adding `localmode=true` for hot functions can dramatically boost performance, see [[local-scope-migration]]
77+
78+
```cfml
79+
function hotFunction() localmode=true {
80+
// Function body
81+
}
82+
```
83+
7084
### Security
7185

7286
Limit variable evaluation in functions/tags should be disabled.

0 commit comments

Comments
 (0)