# Caching

**URL:** <https://techcommunity.softwareag.com/t/caching/58582>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Service-Orchestrator\
**Created:** [June 15, 2004, 12:29pm UTC](https://techcommunity.softwareag.com/t/caching/58582 "2004-06-15T12:29:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nagesh](https://avatars.discourse-cdn.com/v4/letter/n/7ba0ec/32.png) [@Nagesh](https://techcommunity.softwareag.com/u/Nagesh)\
**Post date:** [June 15, 2004, 12:29pm UTC](https://techcommunity.softwareag.com/t/caching/58582/1 "2004-06-15T12:29:41Z")

</div>

Hi All,  
  
 How to stop mediator7.3 from caching the sequence files and the payloads.  
  
 Can any one please help me in this regard, because of this caching i need to restart the mediator host every time i change my sequence file.  
  
Thanx & Regards,  
Nagesh.

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [June 15, 2004, 1:15pm UTC](https://techcommunity.softwareag.com/t/caching/58582/2 "2004-06-15T13:15:07Z")

</div>

Hi Nagesh;  
  
Looks like I beat Mike Bernat to this, but i’ll use his wisdom. All credit his.  
There is a property that you can use in your sequence that can turn caching of resources on and off: xbd.resource.cache (true/false)  
  
Mike’s guidelines to using this property:  
  
1. The property can be set anytime during the execution of a sequence,  
and can also be unset or deleted any time, if you want to control only  
some resources.  
  
2. The property effects all cache activity, if “false” documents are not  
gotten from the cache and they are not left in the cache.  
  
3. In order to prevent the initial sequence from being cached, you must  
set the property either via SMH or as a query parameter on the request.  
  
4. Any resource with a “cid:” format of its url is never cached.  
  
5. Setting xbd.resource.cache=false does not delete or remove anything  
from the cache. So if you run a sequence without the property set, its  
resources are cached. Run it a second time with the property set, and  
“fresh” copies of the documents will be used. Run it again without the  
property set and the copies cached in the first run will be used.

---

<div class="post-metadata">

**Author:** ![Rolf\_Bahlke](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/rolf_bahlke/32/109_2.png) [@Rolf\_Bahlke](https://techcommunity.softwareag.com/u/Rolf_Bahlke)\
**Post date:** [June 15, 2004, 2:34pm UTC](https://techcommunity.softwareag.com/t/caching/58582/3 "2004-06-15T14:34:42Z")

</div>

In addition you can use System Management Hub to refresh a particular resource or all resources.  
  
Kind regards,  
Rolf

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:39pm UTC](https://techcommunity.softwareag.com/t/caching/58582/4 "2021-04-02T14:39:20Z")

</div>


