zoukankan      html  css  js  c++  java
  • legend3---阿里云cnd加速oss

    legend3---阿里云cnd加速oss

    一、总结

    一句话总结:

    整体的流程是:我们访问 static.fanrenyi.com 的资源,会自动 转到oss1拿资源,然后通过static.fanrenyi.com.aliyun.com进行cdn加速

    1、比如静态资源 放在名字为oss1的oss上,现在要加速这个oss1,如何操作?

    第一步:新建一个域名static.fanrenyi.com关联oss1,去cdn里面对static.fanrenyi.com加速,绑定oss1,得到static.fanrenyi.com.aliyun.com
    第二步:域名里面cname:只需要static.fanrenyi.com指向static.fanrenyi.com.aliyun.com即可,不需要再让static.fanrenyi.com指向oss1,oss1有内部对应

    2、阿里云cnd加速oss 整体的流程?

    整体的流程是:我们访问 static.fanrenyi.com 的资源,会自动 转到oss1拿资源,然后通过static.fanrenyi.com.aliyun.com进行cdn加速

    3、阿里云cnd加速oss 域名解析注意?

    a、cnd加速的话:域名里面 只需要static.fanrenyi.com指向static.fanrenyi.com.aliyun.com即可,不需要再让static.fanrenyi.com指向oss1
    b、只通过 static.fanrenyi.com 到oss1里面拿资源并且不cdn加速的话:就需要让 static.fanrenyi.com指向oss1

    二、阿里云cnd加速oss

    博客对应课程的视频位置:

    比如静态资源 放在名字为oss1的oss上,现在要加速这个oss1

    第一步:新建一个域名static.fanrenyi.com关联oss1,去cdn里面对static.fanrenyi.com加速,绑定oss1,得到static.fanrenyi.com.aliyun.com

    第二步:域名里面cname:只需要static.fanrenyi.com指向static.fanrenyi.com.aliyun.com即可,不需要再让static.fanrenyi.com指向oss1,oss1有内部对应

    整体的流程是,我们访问 static.fanrenyi.com 的资源,会自动 转到oss1拿资源,然后通过static.fanrenyi.com.aliyun.com进行cdn加速

    注意:

    cnd加速的话:域名里面 只需要static.fanrenyi.com指向static.fanrenyi.com.aliyun.com即可,不需要再让static.fanrenyi.com指向oss1

    只通过 static.fanrenyi.com 到oss1里面拿资源并且不cdn加速的话:就需要让 static.fanrenyi.com指向oss1

     
  • 相关阅读:
    leetcode python翻转字符串里的单词
    leetcode python快乐数
    Usb gadget驱动
    cnblogs的第一篇
    python返回函数+匿名函数+装饰器+偏函数
    1144. 递减元素使数组呈锯齿状
    208. Implement Trie (Prefix Tree)
    3. Longest Substring Without Repeating Characters
    5. Longest Palindromic Substring :manacher
    929. 独特的电子邮件地址
  • 原文地址:https://www.cnblogs.com/Renyi-Fan/p/12582141.html
Copyright © 2011-2022 走看看