6/30/2025 4:28:33 AM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
|
|
|
|
Caching of entities on the SLX web server
Posted: 02 Jun 10 10:44 AM
|
Is anyone aware of any way to cache entities. So, for example, I could see setting a flag at the entity level to cache it on the web server …. For example … keep all account entities in memory for 10 minutes. How about at the smart part level? I could also see specifying that a smart part is to be cached for a fixed amount of time, perhaps it could do this by user or by server?
Does anyone know anything about this area, both now and for future plans? |
|
|
|
Re: Caching of entities on the SLX web server
Posted: 02 Jun 10 6:50 PM
|
Dave, The WebClient uses the NHibernate ORM. This does provide caching of data to the webserver. In addition, sub collections off of an entity (for example Account Contacts) are "lazy loaded" meaning that they are not loaded up until they are actually requested. Updates to entities do get flushed to the DB immediately in order to maintain transactional integrity. You will notice this if you load up an entity in the webcleint, make a direct change to the DB, and then refresh the webpage. In most cases, you will not immediately see your change. However, sometimes you will if you happen to hit the refresh when the cache expires.
|
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|