Cache Policy for WCS OOTB Commands

If you have been wondering why you do not see any entries in the cachespec.xml file in your WCS 7 toolkit, you got to take a look at the InitializationServlet.war file, this is located under workspace\WC\InitializationServlet.war.

This web archive consists of a cachespec.xml file with all of the out of the box cacheable commands.

Some of the key out of the box cache components are
MemberGroupCacheCmd - This creates a cache entry of all applicable members for a logged in user.

    <cache-entry>
        <class>command</class>
        <sharing-policy>not-shared</sharing-policy>
        <name>com.ibm.commerce.dynacache.commands.MemberGroupsCacheCmdImpl</name>
....
....
   </cache-entry>

UserRoleCacheCmd - This creates a cache entry for all applicable user roles for a logged in user.

    <cache-entry>
        <class>command</class>
        <sharing-policy>not-shared</sharing-policy>
        <name>com.ibm.commerce.usermanagement.commands.UserRoleCacheCmdImpl</name>
       ...
       ...
  </cache-entry>

Pituluik Media Blogger | Freelancer |Operations Manager | Marketing and Sales Manager | Lancer Evo 4 Community. Indonesian Bloggers Who Become Bloggers Because of Hobby. Feel free to connect with me on Social Media Instagram @alberandesko

0 Response to "Cache Policy for WCS OOTB Commands"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel