Magento-OpCache
OpCache Control Panel for Magento Backend.
Based on: https://gist.github.com/ck-on/4959032
- 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
- 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
About
- Key: SchumacherFM_OpCache
- Current Version: 1.0.2
- Download tarball
- Donation: http://www.seashepherd.org/
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/