Magento-OpCache
OpCache Control Panel for Magento Backend., (*1)
Based on: https://gist.github.com/ck-on/4959032, (*2)
, (*3)
- 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, (*4)
Set here the API Key name and value for resetting the cache via cURL or wget with a post request., (*5)
curl --data "keyName=keyValue" http://magento-store.tld/opcachepanel
Developer Usage
See model SchumacherFM_OpCachePanel_Model_Cache:, (*6)
<?php Mage::getModel('opcache/cache')->reset(); ?>
You cannot clear the cache via command line. Please use the cURL post command., (*7)
Todo
- Use line charts with a live view
- internal refactorings
- integrate APC better
Installation Instructions
- Install modman from https://github.com/colinmollenhour/modman
- Switch to Magento root folder
modman init
modman clone git://github.com/SchumacherFM/Magento-OpCache.git
Please read the great composer article from Vinai: Composer installation, (*8)
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
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., (*9)
Support / Contribution
Report a bug using the issue tracker or send us a pull request., (*10)
Instead of forking I can add you as a Collaborator IF you really intend to develop on this module. Just ask :-), (*11)
We work with: A successful Git branching model and Semantic Versioning 2.0.0, (*12)
Licence OSL-3
Copyright (c) 2013 Cyrill (at) Schumacher dot fm, (*13)
Open Software License (OSL 3.0), (*14)
Author
Cyrill Schumacher - My pgp public key, (*15)
Made in Sydney, Australia :-), (*16)
If you consider a donation please contribute to: http://www.seashepherd.org/, (*17)