Code Monkey home page Code Monkey logo

cdn's Introduction

Notice: SAELayerCDN is no longer maintained

Layer

forked from SaeLayerCDN.

将SaeLayerCDN移植到全平台,所以是“Layer”而不再是“SaeLayer”。

目前支持平台:SAE(新浪)、BAE(百度)、GCS(盛大)、标准PHP(本地读写)

cdn's People

Contributors

oott123 avatar slacken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cdn's Issues

服务器读取出错后不能重新读取

在sae测试时,发现有几张远程图片sae读取时出现错误,只取回了一个几十B的碎片。这样导致图片无法显示,而且只能通过删除storage里的文件才能让它重新获取。
建议加入对文件完整性的校验,以增强项目的健壮性。

bae获取object之后要取body。。

文件:
/include/storages/Bae.php

    //这里是效率瓶颈啊!!
    public function read($filename){
        return $this->instance->get_object($this->domain,$this->get_file($filename));
    }

应该为:

    //这里是效率瓶颈啊!!
    public function read($filename){
        return $this->instance->get_object($this->domain,$this->get_file($filename))->body;
    }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.