webexcess/flowkeycdn 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

webexcess/flowkeycdn

最新稳定版本:0.0.1

Composer 安装命令:

composer require webexcess/flowkeycdn

包简介

A Package to use KeyCDN for persistent resources in the Flow Framework

README 文档

README

A Package to use KeyCDN for persistent resources in the Flow Framework

Note: This package is still experimental and not for production.

Quick start

Create a KeyCDN account

https://www.keycdn.com/

Rename the package Settings.yaml.sample file and fill in your KeyCDN credentials

WebExcess:
  FlowKeyCDN:
    default:
      host: ftp.keycdn.com
      user: usernamexy
      pass: 1234567890
      zone: sitexyresources
      zoneDomain: 'sitexyresources-1234.kxcdn.com'
      apiKey: 1234567890abcdefghjiklmnopqrstuvwxyz
      debug: false

Enable the new persistent storage and target in your site Settings.yaml

TYPO3:
  Flow:
    resource:

      storages:
        keyCDNPersistentResourcesStorage:
          storage: 'WebExcess\FlowKeyCDN\KeyCDNStorage'

      collections:
        persistent:
          storage: 'keyCDNPersistentResourcesStorage'
          target: 'keyCDNWebDirectoryPersistentResourcesTarget'

      targets:
        keyCDNWebDirectoryPersistentResourcesTarget:
          target: 'WebExcess\FlowKeyCDN\KeyCDNTarget'

Clean up and re-import your site

./flow flow:cache:flush --force ./flow site:prune; ./flow media:clearthumbnails; ./flow resource:clean; ./flow site:import --package-key TYPO3.NeosDemoTypo3Org; ./flow flow:cache:flush --force

统计信息

  • 总下载量: 12
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-09-25