Git Product home page Git Product logo

aoe_static's Introduction

AOE Static - Varnish caching for magento

This modules adds advanced varnish functionalitiy to your Magento shop. The module handles the communication between Varnish and Magento, both on filling and on purging the cache. Therefor the modules adds information to the response header.

In addition to that, the module has the functionality to request customer related information such as mini cart and login state via AJAX once the side is loaded. So this module also allows caching of pages when the customer already has some items in the cart.

Installation

The easiest way to install the module is with the use of modman. Alternativly you can download the module as archive and copy the folders accordingly. Don't simply copy the folder over your magento installation, the pathes in the module are not the same as in the magento folder. See the modman file to get the relations.

Usage

The module adds a new entry into you cache list. Enable the Varnish-Cache there. Also there is a configuration section under Advanced -> System -> Varnish Configuration.

Additional AJAX actions updating replaced blocks

Blocks configured to be dynamic are replaced in all actions' responses per default.

To have AJAX calls retrieve the original value of such dynamic block instead of its placeholder, add it to {MyModule}/etc/config.xml:

<?xml version="1.0" encoding="UTF-8"?>
<config>
    ...
    <global>
        <aoe_static>
            <ajax_action>
                <!-- Pattern: <module_controller_action />-->
                <ajaxcheckout_cart_delete />
            </ajax_action>
        </aoe_static>
     ...

This extension has its own phone call route to update dynamic blocks on all pages, which comes preconfigured as an aoestatic/ajax_action.

aoe_static's People

Contributors

stephanhoyer avatar janpapenbrock avatar fbrnc avatar colinmollenhour avatar behrendtio avatar michael-sauerwald avatar re2bit avatar daim2k5 avatar quafzi avatar pogster avatar

Watchers

James Cloos avatar  avatar  avatar Gruenspar IT avatar  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.