Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Cache- SkipCachePopulation - Unable to validate condition

Hi,

I am trying to cache the response only if one the query param is equal to a value and rest of them not to populate. I have configured my proxy as below.

   <CacheKey>
        <Prefix/>
        <KeyFragment ref="request.uri" type="string"/>
    </CacheKey>
    <CacheResource><<ResourceName>></CacheResource>
    <SkipCacheLookup>name12 != "SeniorManagers"</SkipCacheLookup>
    <SkipCachePopulation>name12 != "SeniorManagers"</SkipCachePopulation>
    <Scope>Exclusive</Scope>

URI: /ldbpmcache?OrganizationName=xyz⩔gUnitName=qwe&PositionName=XXX

I am extracting the query param PositionName and assigning to name12 and evaluating as condition.

When i execute the proxy i could still see the response being cached. Let me know if i am missing something.

Thanks,

Latheef D

0 5 476
5 REPLIES 5
Top Solution Authors