• 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

     
  • 相关阅读:
    vue项目index.html , main.js的关系
    vue项目是如何加载入口文件main.js的
    解决Mysql密码修改后不能登录的问题
    解决IDEA右侧maven不显示方法
    (转)sql语句定义和执行顺序
    关于我
    css中好用的clamp()函数
    vue中子组件使用$emit传值的种种情况
    我的大学 -詹书庭
    自定义组件使用v-model
  • 原文地址:https://www.cnblogs.com/Renyi-Fan/p/12582141.html
Copyright © 2020-2023  润新知