aoepeople/aoe_classpathcache 问题修复 & 功能扩展

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

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

aoepeople/aoe_classpathcache

最新稳定版本:v0.5.2

Composer 安装命令:

composer require aoepeople/aoe_classpathcache

包简介

Class path cache for Magento autoloader.

README 文档

README

Change log

  • v0.5.1

    • Added Travis CI config file
    • Add PHPCS ruleset and check
    • Fixed several PSR-2 related errors in the code
    • Added tracking of the Travis CI build status for master into the README
  • v0.5.0

    • Changed code pool from 'local' to 'community'. NB: This change could possibly break things if you are manually installing the code instead of using modman/composer
    • Reformatted code to PSR-1/PSR-2
    • Reformatted additional files to use spaces instead of tabs and \n for line-breaks
  • v0.4.2

    • Fixed bug when calling Varien_Autoload::setCache() with a bad cache file (Nicolas Fabre)
  • v0.4.1

    • Fixed bug in the autoload destructor call that was throwing exceptions in developer mode
  • v0.4.0

    • Added support for PSR-0 compliant autoloading
  • v0.3.0 (Merging community contributions. Thanks a lot!)

    • Added support for dynamic n98-magerun module (by Christian Muench)
    • Fix package name in composer.json (by Kalen Jordan)
    • Log into separate file (var/log/classpathcache.log) (by Colin Mollenhour)
    • Prevent fatal errors when PHP has already started shutting down. (by Colin Mollenhour)
    • Remove tmp file on failed rename (prevent filling disk with tmp files (by Colin Mollenhour)
    • Added license information (GPL v3)
  • v0.2.2

    • Revalidate cache rather than clearing cache to prevent stampeding.
    • Check that APC is actually enabled.
    • Do not store apc cache for cli mode.
    • Make useAPC static property public to allow it to be explicitly enabled or disabled.
    • Remove tmp files on failed rename.
    • Prevent fatal errors when autoloader invoked during shutdown.
  • v0.2.1

    • Adding button to cache management page to flush Aoe_ClassPathCache content
  • v0.2.0

    • Adding controller that allows clearing apc cache in a frontend context and helper function that abstracts from that/
  • v0.1.0

    • Adding APC support

Usage

Clean cache (from everywhere - will do internal frontend call if needed to delete APC content)

Mage::helper('aoe_classpathcache')->clearClassPathCache();

Command line

cd shell/
php aoe_classpathcache.php -action clear

Additional Info

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

统计信息

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

GitHub 信息

  • Stars: 49
  • Watchers: 49
  • Forks: 35
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2015-03-04