Use constant in page Nanoflow

0
From release 8.2, constant can be used by page & nanoflow. I have 2 questions about the usage. Does Mendix treat user define constant as static resource? it means, it the constant could be cached by browser. in case a lot of constants usage, at server side, constant is loaded from disk or cache? 
asked
1 answers
1

Hi Liu

About constants: https://docs.mendix.com/refguide/constants

For the nanoflows. If you check in the network tab of the chrome developer tool, it is not loaded on every click. They are stored in the session. (you can check this in the browser console with the Javascript code executed mx.session.getConstants() So every time a new user starts a session this information is send.

Not sure how this is done on the server side;

https://docs.mendix.com/developerportal/deploy/environments-details#3-2-constants

Cheers, Andries

answered