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

     
  • 相关阅读:
    ActiveReports 报表应用教程 (9)---交互式报表之动态排序
    struts2-结果处理方式
    struts2-action的创建方式
    struts2-动态方调用
    struts2-常量配置
    struts2架构图
    maven依赖范围-Scope
    Maven在eclipse的使用入门
    Maven简介
    数组的学习与使用
  • 原文地址:https://www.cnblogs.com/Renyi-Fan/p/12582141.html
Copyright © 2011-2022 走看看