2017 © Pedro Peláez
 

magento2-module autoflushcache

image

yireo/autoflushcache

  • Monday, November 20, 2017
  • by jissereitsma
  • Repository
  • 4 Watchers
  • 7 Stars
  • 127 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 477 % Grown

The README.md

Yireo AutoFlushCache

Magento 2 module to automatically flush the cache whenever you save something in the System Configuration., (*1)

Do NOT use this in production., (*2)

Overview

When saving the System Configuration within Magento 2, the core behaviour is to add a reminder in the backend that you should manually flush the cache. In production, this is a good practice: Instead of flushing the cache with every change, the cache is only flushed when needed. In development, I always keep caching on, and then this becomes annoying. This module automatically flushes the cache for you., (*3)

Installation

Install this module within Magento 2 using composer:, (*4)

composer require yireo/magento2-autoflushcache --dev
bin/magento module:enable Yireo_AutoFlushCache

Technical architecture

This module listens to the event controller_action_postdispatch_adminhtml_system_config_save. Whenever it is called, it flushes the following caches:, (*5)

  • config
  • block_html
  • full_page

The Versions

20/11 2017

dev-master

9999999-dev https://github.com/yireo/Yireo_AutoFlushCache

  Sources   Download

OSL-3.0

The Requires

  • php >=7.0.0
  • magento/framework ^100.1|^101.0|^102.0

 

The Development Requires

by Jisse Reitsma (Yireo)

composer-installer magento

20/11 2017

0.1.1

0.1.1.0 https://github.com/yireo/Yireo_AutoFlushCache

  Sources   Download

OSL-3.0

The Requires

  • magento/framework ^100.1|^101.0|^102.0
  • php >=7.0.0

 

The Development Requires

by Jisse Reitsma (Yireo)

composer-installer magento

28/01 2017

0.1.0

0.1.0.0

  Sources   Download

OSL-3.0

The Requires

  • magento/framework 100.*
  • php >=5.6.0

 

The Development Requires

by Jisse Reitsma (Yireo)

composer-installer magento