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

     
  • 相关阅读:
    尝试在mac上用dotnet cli运行asp.net core示例程序
    帅呆了!ASP.NET Core每秒能处理115万个请求
    EF(Entity Framework)多对多关系下用LINQ实现"NOT IN"查询
    前端工程师和设计师必读文章推荐【系列三十四】
    Plyr – 简单,灵活的 HTML5 媒体播放器
    20种新颖的按钮风格和效果【附源码下载】
    12款最佳的 WordPress 语法高亮插件推荐
    MaterialUp
    React Native – 使用 JavaScript 开发原生应用
    推荐15款创建漂亮幻灯片的 jQuery 插件
  • 原文地址:https://www.cnblogs.com/Renyi-Fan/p/12582141.html
Copyright © 2011-2022 走看看