WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Are MP3 being served from CDN? (12 posts)

  1. robnalexpress
    Member
    Posted 2 years ago #

    I recently added some MP3 audio here, using Audio Player. All files are in my self-hosted CDN directory, but I'm trying to figure out if they're being served from there? How can I determine what files are being used when someone plays an MP3? If they're not being served from the CDN, I'd like to exclude MP3s from uploading, to save disk space.

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. robnalexpress
    Member
    Posted 2 years ago #

    I figured out how to determine the source file by using the activity window in safari, and the mp3s, although uploaded to the CDN are NOT being served from the CDN.Any reason why I would want them to be served from the self-hosted CDN?

  3. cyonite
    Member
    Posted 2 years ago #

    Perhaps the Flash you use to play the files is preventing the plugin to correct the url to the file so it points to the CDN?
    If you put an ordinary link to the mp3 file does it get corrected so it points to the CDN?

  4. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    @robnalexpress, are you sure your audio player supports using a CDN (different hostname) than your domain name for the audio files?

  5. robnalexpress
    Member
    Posted 2 years ago #

    I use self-hosted CDN, so hostname is not an issue. There is an option in the plugin to specify a file location, but I haven't had time to experiment with that.

  6. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    Please do and get back to me.

  7. robnalexpress
    Member
    Posted 2 years ago #

    Specifying the file location on the self-hosted CDN has no effect.

  8. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    Can you please answer my previous question?

  9. robnalexpress
    Member
    Posted 2 years ago #

    Specifying the file location on the self-hosted CDN in the plugin settings has no effect. This is really not a big issue for me. is there any advantage to having the mp3s served from the self-hosted CDN?

  10. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    Yes, users will be able to download it faster. Did you check with the plugin author to verify that custom paths work?

  11. robnalexpress
    Member
    Posted 2 years ago #

    The audio files are on this page. They are inserted into the WordPress page like this:

    [audio:http://robreillyorgan.com/wp-content/uploads/2011/11/Prelude-in-G-Major-Bach.mp3|titles=Prelude in G Major - Bach]

    What if I just change the link to:

    [audio:http://robreillyorgan.com/static/wp-content/uploads/2011/11/Prelude-in-G-Major-Bach.mp3|titles=Prelude in G Major - Bach]?

  12. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    That's still the same domain name, I'm not sure how that would help?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic