BunnyCDN Support Hub

Guides, troubleshooting and support requests to help you get started with BunnyCDN.

I am not able to skip ahead in videos

Have you tried serving a video from BunnyCDN, but after skipping ahead in the timeline, the video just continued to buffer? This article explains two tips on how to resolve this.

1. Enable cache file slicing in your pull zone settings

The first thing you need to do is enable the cache file slicing in your pull zone settings under the Cache tab. Without slicing, when the file isn't in cache, the edge servers try to progressively download your video file from origin into a single big file. While our servers are downloading your files into cache, you will only be able to request the video starting from the beginning. Without slicing, skipping video only becomes available after the video file is fully cached.

Cache slicing works around this by enabling our servers to split cache for larger files into many small chunks and downloading each of them separately. This allows you to request any specific part of a file anytime you want, no matter if it's already cached or not or not and allows you to skip ahead in video, no matter the state of the cache.

enable_cache_slicing.png

2. Make sure your videos are encoded with the video header at the beginning of the file

If after enabling cache slicing your videos are still not skipping ahead, even if cached this indicates a different problem. It likely means that your video is encoded with the header file at the end of the file. This means that in order to understand the video, your browser would first need to download the whole file to get to the header part.

In order to work around this, always make sure that when encoding your video, you use a web optimized presets. This will make sure your video file is prepared and optimized to be delivered in a web browser.

web_optimized.png

2 Comments

  • 0
    Avatar
    Farrel Franqois

    This feature does change CDN Pull Zone Tier (ex. Premium to Volume Tier or vice-versa)? And, is Cache Slicing feature can use only on Volume Tier Pull Zone? Thank You ^_^

    Edited by Farrel Franqois
  • 1
    Avatar
    Dejan Pelzel

    The zone tier is now completely independent of the cache slice setting, so you can use it both on the volume or premium tier. The only difference is that the volume tier has it enabled by default.

Please sign in to leave a comment.