Inactive User
8 years agousercache: where's the earliest place I can usercache.put? Page Init doesn't seem to work.
I have a test to do on user roles and groups that I'd like to do as early as possible on page load, and keep it in the cache. (i.e., what private groups are they allowed access to). Right now I'm usi...
- 8 years ago
Inactive User
Page Initialization Script is the best option that enables you to execute business logic using FreeMarker early in a request before any HTML being rendered. Usercache will also work on page init. Might be you are missing something in your code snippet.
Here you can get some more insight view about page init and usercache
https://community.lithium.com/t5/Developer-Knowledge-Base/Cache-the-output-of-a-macro/ta-p/182354