Skip to content

Instantly share code, notes, and snippets.

@ApigeeSamples
Last active October 4, 2015 11:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ApigeeSamples/2627316 to your computer and use it in GitHub Desktop.
Save ApigeeSamples/2627316 to your computer and use it in GitHub Desktop.
Invalidate Cache
<InvalidateCache name="InvalidateMyCache">
<CacheResource>mycache</CacheResource>
<Scope>Global/Application/Proxy/Target</Scope>
<CacheContext>
<APIProxyName>myapp</APIProxyName>
<ProxyName>myproxy</ProxyName>
<TargetName>mytarget</TargetName>
<CacheContext>
<CacheKey>
<Prefix>cache-key-prefix</Prefix>
<KeyFragment ref="request.header.id1" />
<KeyFragment ref="request.header.id2" />
</CacheKey>
<PurgeChildEntries>false/true</PurgeChildEntries>
</InvalidateCache>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment