Is it inefficient to define caches in application.cfc, and should I move them to .CFConfig.json? I’ve got about 10 of them defined.
Google tells me that I should define them in onApplicationStart() to avoid the extra overhead of defining them on every request via pseudo constructors, but this doesn’t work (ai slop?) I currently a bunch of them defined in application.cfc because I like having my caches in sync with my code and not having to change things in .CFConfig.json whenever a cache is added/changed.
OS: Ubuntu 24.04 (Noble)
Java: OpenJDK 21
Tomcat Version: 11.0.6
Lucee Version: 6.2.6.19