schumacherfm/opcache

OpCache Panel for Backend. Reset cache, compile all files, SVG Pie Charts with live reload

Installs: 2 303

Dependents: 0

Suggesters: 0

Security: 0

Stars: 100

Watchers: 20

Forks: 36

Open Issues: 0

Type:magento-module

v1.0.3 2018-11-02 14:21 UTC

This package is not auto-updated.

Last update: 2024-04-28 11:58:35 UTC


README

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/