File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -98,3 +98,17 @@ foreach ($groups as $group)
9898 }
9999}
100100```
101+
102+ ## Performance
103+
104+ ** WARNING** Be aware that ** Relations** relies on a schema generated from the ** Schemas**
105+ library. While this process is relatively quick, it will cause a noticeable delay if a page
106+ request initiates the load. The schema will attempt to cache to prevent this delay, but
107+ if your cache is not configured correctly you * will* experience noticeable performance
108+ degradation! The recommended approach is to have a cron job generate your schema regularly
109+ so it never expires and no user will trigger the un-cached load, e.g.:
110+ ```
111+ php spark schemas database model file -export cache
112+ ```
113+
114+ See [ Tatter\Schemas] ( http://github.com/tattersoftware/codeigniter4-schemas ) for more details.
You can’t perform that action at this time.
0 commit comments