# Using caching application as a fall back to an ondeman application

**URL:** <https://community.wowza.com/t/using-caching-application-as-a-fall-back-to-an-ondeman-application/43197>\
**Category:** Wowza Streaming Engine\
**Created:** [March 6, 2015, 10:40am UTC](https://community.wowza.com/t/using-caching-application-as-a-fall-back-to-an-ondeman-application/43197 "2015-03-06T10:40:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Timothy\_Millett](https://avatars.discourse-cdn.com/v4/letter/t/58f4c7/32.png) [@Timothy\_Millett](https://community.wowza.com/u/Timothy_Millett)\
**Post date:** [March 6, 2015, 10:40am UTC](https://community.wowza.com/t/using-caching-application-as-a-fall-back-to-an-ondeman-application/43197/1 "2015-03-06T10:40:47Z")

</div>

Is there a way to configure wowza so that if a file is not available via a “vod” application, that it will the go to the “caching” application?

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [March 6, 2015, 7:31pm UTC](https://community.wowza.com/t/using-caching-application-as-a-fall-back-to-an-ondeman-application/43197/2 "2015-03-06T19:31:18Z")

</div>

Hi,

You can do that through a single application. You can configure the application to try to access the local content first, and if it is not available, it will look into the Media Cache source.

Please take a look at the “[Media Cache implementation that will first try to access content locally before getting it from a remote source (MediaCacheLocalFirstRandomAccessReader)](https://www.wowza.com/docs/media-cache-implementation-that-will-first-try-to-access-content-locally-before-getting-it-from-a-remote-source-mediacachelocalcontent%28MediaCacheLocalFirstRandomAccessReader%29)” forum article.

Zoran

---

<div class="post-metadata">

**Author:** ![Timothy\_Millett](https://avatars.discourse-cdn.com/v4/letter/t/58f4c7/32.png) [@Timothy\_Millett](https://community.wowza.com/u/Timothy_Millett)\
**Post date:** [March 9, 2015, 1:48pm UTC](https://community.wowza.com/t/using-caching-application-as-a-fall-back-to-an-ondeman-application/43197/3 "2015-03-09T13:48:57Z")

</div>

Hello,

I added the following properties (under - Root/Application), not sure about how I add the cache application or storage location.

mediaCacheLocalFirstMediaCachePath

http/

String

mediaCacheLocalFirstRandomAccessReaderClassName

com.wowza.wms.mediacache.impl.MediaCacheRandomAccessReaderVODEdge

String
