Skip to content

SchumacherFM/Magento-OpCache

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
src
 
 
 
 
 
 
 
 

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