• Resolved menathor

    (@menathor)


    Hi guys,

    I stream audio and video on my site (MP4, MP4, OGG etc.) and have all my media for streaming in a /media folder. Should I exclude this folder in the Comet Cache settings, or is it beneficial for Comet Cache to cache streaming media?

    Cheers

Viewing 4 replies - 1 through 4 (of 4 total)
  • @menathor Comet Cache only caches WordPress content. Static files like videos should be stored on a CDN with edge servers like Amazon Cloudfront, which would allow the videos to be streamed from a server that is geographically close to the visitor who is streaming the content. Comet Cache is intended for speeding up WordPress itself (things like loading the WordPress pages on the front-end of the site).

    If you’re using Comet Cache Pro, there is a CDN option that will have Comet Cache replace any static resource URLs (e.g., images, videos, etc.) with the URL for your CDN provider. You can see a screenshot of the Pro CDN option here.

    I hope this helps!

    Thread Starter menathor

    (@menathor)

    Thanks Raam. However I was asking about something slightly different. I have a fast VPS with a high bandwidth connection that I stream from directly. My question wasn’t regarding improving my streaming speeds, as I’m happy with my current setup and don’t need a CDN for the amount of traffic I’m currently getting.

    What I wanted to know was whether Comet Cache could somehow interfere with or add some kind of overhead when the streaming files are delivered , and whether I should put in a URI exclusion for the folder my streaming media is in.

    Or whether it makes no difference because Comet Cache just ignores those files completely and therefore an exclusion would be unnecessary

    @menathor Hey 🙂

    You asked, “is it beneficial for Comet Cache to cache streaming media”, to which I was responding that Comet Cache does not cache streaming media… in fact, it doesn’t touch static resources at all. If you have a media directory on your server, there’s no way to tell Comet Cache to exclude that directory because Comet Cache only sees WordPress posts/pages. It does not ‘see’ static files on the server because it’s a WordPress caching plugin, that hooks into the WordPress caching system. The URI Exclusion patterns will only work with URLs that WordPress is serving. (If you link directly to a media file, your web server is serving that file, not WordPress.)

    So, to answer your question, Comet Cache won’t have any effect on, or interfere with, your media files.

    I hope this clarifies things a bit!

    Thread Starter menathor

    (@menathor)

    Great, that makes sense. Thanks! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Exclude streaming media folder?’ is closed to new replies.