# A question about RandomAccessReader and MediaCache

**URL:** <https://community.wowza.com/t/a-question-about-randomaccessreader-and-mediacache/47489>\
**Category:** Wowza Streaming Engine\
**Created:** [September 12, 2016, 5:49pm UTC](https://community.wowza.com/t/a-question-about-randomaccessreader-and-mediacache/47489 "2016-09-12T17:49:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KwanKin\_Yau](https://avatars.discourse-cdn.com/v4/letter/k/57b2e6/32.png) [@KwanKin\_Yau](https://community.wowza.com/u/KwanKin_Yau)\
**Post date:** [September 12, 2016, 5:49pm UTC](https://community.wowza.com/t/a-question-about-randomaccessreader-and-mediacache/47489/1 "2016-09-12T17:49:59Z")

</div>

Hi, I am have been implemented an IRandomAccessReader to read media source from a HTTP server and it worked well. But when I traced the log message, I found a problem, that is my random access reader always make HTTP call to remote server as long as the client play this stream, in other words, MediaCache does not cache the content returned by my random access reader. So, I am confused that, is it MediaCache whether cache the content returned by random access reader? Or may be I am miss someting? Please help! Thanks!🙂

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [October 31, 2016, 3:02pm UTC](https://community.wowza.com/t/a-question-about-randomaccessreader-and-mediacache/47489/2 "2016-10-31T15:02:37Z")

</div>

Hi,

MediaCache will fetch any missing data not located in its store from the source. So it could just be that not all parts of the file were cached at the time you were monitoring and so it fetched more from the HTTP source. If you feel that your code is not working as expected then you may want to open a [support ticket](https://www.wowza.com/support/open-ticket) and we can take a look for you. Please include all steps needed to reproduce plus any files as required (conf and logs and source etc).

Regards,

Paul
