aoepeople/aoe_classpathcache

This package is abandoned and no longer maintained. No replacement package was suggested.

Class path cache for Magento autoloader.

Installs: 3 462

Dependents: 0

Suggesters: 0

Security: 0

Stars: 49

Watchers: 49

Forks: 35

Open Issues: 8

Type:magento-module

v0.5.2 2015-06-10 22:45 UTC

This package is not auto-updated.

Last update: 2022-09-17 06:19:49 UTC


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