# how to set m3u8 file #EXT-X-ALLOW-CACHE: YES ?

**URL:** https://community.wowza.com/t/how-to-set-m3u8-file-ext-x-allow-cache-yes/40122
**Category:** Wowza Streaming Engine
**Created:** [June 4, 2015, 3:19pm UTC](https://community.wowza.com/t/how-to-set-m3u8-file-ext-x-allow-cache-yes/40122 "2015-06-04T15:19:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Tong\_Wang](https://avatars.discourse-cdn.com/v4/letter/t/f04885/32.png) [@Tong\_Wang](https://community.wowza.com/u/Tong_Wang)
#### Post date: [June 4, 2015, 3:19pm UTC](https://community.wowza.com/t/how-to-set-m3u8-file-ext-x-allow-cache-yes/40122/1 "2015-06-04T15:19:26Z")

</div>

In m3u8 head, there is a parameter line:#EXT-X-ALLOW-CACHE:NO.

It is genarated by Wowza system. Can we change it to #EXT-X-ALLOW-CACHE:YES?

How can we do it?

---

<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: [June 4, 2015, 10:29am UTC](https://community.wowza.com/t/how-to-set-m3u8-file-ext-x-allow-cache-yes/40122/2 "2015-06-04T10:29:33Z")

</div>

Hi,

For Apple HLS in a a “live” Wowza application type you can add the following property within LiveStreamPacketizer / Properties in conf/[application]/Applicatiion.xml (be careful to choose the correct node)

```auto
<Property>
     <Name>cupertinoAllowCaching</Name>
     <Value>true</Value>
     <Type>Boolean</Type>
</Property>

```

For Apple HLS nDVR live streaming the following property can be added to HTTPStreamer / Properties in conf/[application]/Application.xml.

```auto
<Property>
     <Name>dvrCupertinoPlaylistAllowCaching</Name>
     <Value>true</Value>
     <Type>Boolean</Type>
</Property>

```

Paul
