WordPress.org

Ready to get started?Download WordPress

Forums

CDN SET difference URL for SSL , W3 Total Cache (8 posts)

  1. chensihai
    Member
    Posted 2 years ago #

    There is an old request to disable CDN for SSL, http://wordpress.org/support/topic/plugin-w3-total-cache-disable-cdn-for-ssl?replies=9 .

    I would like a little difference request, to think of Amazon ColudFront.
    CloudFront support own domain SSL, like https://xxxxx.cloudfront.net, but not support SSL for CNAME.

    Is it possible to use CNAME for none SSL page, but for SSL page, we can use https://xxxxx.cloudfront.net instead.

  2. Frederick Townes
    Member
    Posted 2 years ago #

    Please submit a feature request for this case. There are lots of cases that can be supported for CDN in general.

  3. chensihai
    Member
    Posted 2 years ago #

    Hi Frederick,
    Not sure if it's the right place to submit a feature request here.
    In CDN setting of W3TC, it's now like
    --------------------------------------------------------------
    Replace site's hostname with: ____.cloudfront.net or CNAME: 1.____
    [Add CNAME]

    ---------------------------------------------------------------
    I suggest to change to

    --------------------------------------------------------------
    For SSL:
    Replace site's hostname with: ____.cloudfront.net [submit]

    For none SSL, Replace site's hostname with: CNAME: ____[Add CNAME]
    --------------------------------------------------------------
    And change the program logic according to it.

    Or keep the old config UI, but in the frontend program, when the page URL is none SSL, all page element will link with CNAME.

    If the page URL is SSL, then all page element will be linked with xxx.cloudfront.net.

  4. danmcq
    Member
    Posted 2 years ago #

    I too would like to see this functionality implemented. I am using Amazon CloudFront with a couple of CNAMEs, and when the site is accessed via SSL (https), any content that is not loaded from the X.cloudfront.net domain name will not be loaded automatically by the browser.

  5. houmie
    Member
    Posted 2 years ago #

    I completely agree. Right now it is not possible using SSL with W3 Cache + Amazon CloudFront. We need a solution to this.

    Many Thanks,
    Houman

  6. Frederick Townes
    Member
    Posted 2 years ago #

    That feature is in the roadmap.

  7. pbagosy
    Member
    Posted 1 year ago #

    I've been trying to tackle this issue, and looking through the code (and testing) leads me to believe that this feature already exists.

    Putting two URLs in the CNAME box, separated by a comma, produces the desired result. When the site is accessed via HTTP, the first URL is used. When the site is accessed with HTTPS, the second URL is used.

    Is this the correct functionality? It appears to exactly solve the problem as described.

    Also, you really should be charging for this! I greatly appreciate that you actively support it on the forums, but I'd be more than happy to pay for more development.

  8. chensihai
    Member
    Posted 1 year ago #

    Clap! Clap!! Clap!!! You worth the picture in your logo.
    Unfortunately, I don't use cloudfront.net function for now, and use cloudflare.com instead.

    It's good to know, but can't pay you; because I might forget your solution tomorrow if I don't use it.

Topic Closed

This topic has been closed to new replies.

About this Topic