Giter Club home page Giter Club logo

rkt_cmscachedisabler's Introduction

Rkt_CMSCacheDisabler

This is a small extension which is used to disable full page cache from all cms pages in Magento.

Details

This is a magento extension which can be used to disable full page cacheing of all cms pages. That is with this module, you will see a not-cached page when you try to see a cms page in magento application.

For the sake of illustration, suppose you have a cms page which is setup like this.

cms page

Now if you access the above cms page like this : www.yourdomain.com/testcms, then you will see the cms page without having any cacheing.

This module is inspired from this stackexchang question. This module is a reference for my answer there. Well the answer that is made by programmer_rkt.

Theory

This module actually listening to an event controller_action_predispatch_cms_page_view and disables cacheing for that page through the observer. The event that we observing will get triggered only when a cms page is trying to view.

For more details, please look on this thread.

Supporting versions

This is tested only in magento-1.9.1. However it would work for almost all other versions which is greater than 1.4.

Pros & Cons

Pros

  1. This extension did not touch any core files.

  2. Followed magento best practices

  3. Every files documented well.

Cons

nil

Installation

  1. Download the zip file.

  2. Unzip it and merge app folder in root directory of magento.

  3. Clear all cache.

  4. Done.

rkt_cmscachedisabler's People

Contributors

rajeev-k-tomy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.