Discussion

Personal Rules Cache

Hi all,

I have a doubt that y there is personal rules cache when there is rules assembly cache doing the same job?
Both the caches are per node and will update all the users in the node. So I find no difference between the functioning of both.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

January 18, 2012 - 3:13pm

Rules assembly cache contains references to classes that are used first time after rule checkin. These are used by all the users.

If a rule is checked out by a user then his/her local changes are cached so that these are not reflected to other users. Advantage of having this is to avoid fetching the rule from the database as this is a Work-in-progress rule

Once the rule is checked in by the user then the Cache entry is deleted from the Personal rule cache.

I am not sure about the below point but guessing this should happen
Cache listing for that rule is deleted from Rule Assembly cache also. Next time it fetches from the database and puts in Rule Assembly Cache which has the latest changes

January 19, 2012 - 6:16am

@ MANOJPEGA

I also came to the same extent of understanding. Thanks for your confirmation, on the same.

About your last point. All the previous items in rules assembly cache of the rule modified are invalidated, and RA cache is cached for the particular rule.

January 19, 2012 - 1:08pm

Vijay

Thanks for the confirmation on the cache invalidation