Skip to content

OpCache (Zend Optimizer) Control Panel (GUI) for the Magento Backend.

Notifications You must be signed in to change notification settings

brandontamm/Magento-OpCache

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento-OpCache

OpCache Control Panel for Magento Backend.

Based on: https://gist.github.com/ck-on/4959032

image

  • Recheck Cache
  • Reset Cache
  • Compile all PHP Files in directories app and lib
  • SVG pie charts with live reload every 5 seconds.
  • APC/APCu integration lacks (looking for contributors)

Configuration

System -> Configuration -> System -> OpCachePanel Settings

Set here the API Key name and value for resetting the cache via cURL or wget with a post request.

curl --data "keyName=keyValue" http://magento-store.tld/opcachepanel

Developer Usage

See model SchumacherFM_OpCachePanel_Model_Cache:

<?php  Mage::getModel('opcache/cache')->reset(); ?>

You cannot clear the cache via command line. Please use the cURL post command.

Todo

  • Use line charts with a live view
  • internal refactorings
  • integrate APC better

Installation Instructions

  1. Install modman from https://github.com/colinmollenhour/modman
  2. Switch to Magento root folder
  3. modman init
  4. modman clone git://github.com/SchumacherFM/Magento-OpCache.git

Please read the great composer article from Vinai: Composer installation

About

History

1.0.2

  • Check if opcache_compile_file is available
  • A tiny more APC compatibility

1.0.1

  • Check if OpCache is enabled

1.0.0

  • Initial Release

Compatibility

  • Magento >= 1.5
  • php >= 5.3.0
  • Zend Optimizer / OpCache

There exists the possibility that this extension may work with pre-1.5 Magento versions.

Support / Contribution

Report a bug using the issue tracker or send us a pull request.

Instead of forking I can add you as a Collaborator IF you really intend to develop on this module. Just ask :-)

We work with: A successful Git branching model and Semantic Versioning 2.0.0

Licence OSL-3

Copyright (c) 2013 Cyrill (at) Schumacher dot fm

Open Software License (OSL 3.0)

Author

Cyrill Schumacher - My pgp public key

Made in Sydney, Australia :-)

If you consider a donation please contribute to: http://www.seashepherd.org/

About

OpCache (Zend Optimizer) Control Panel (GUI) for the Magento Backend.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 84.6%
  • HTML 12.7%
  • CSS 2.7%