Bubble Full Page Cache for Magento



Similar documents
Bubble Full Page Cache for Magento

Bubble Code Review for Magento

ultimo theme Update Guide Copyright Infortis All rights reserved

ultimo theme Update Guide Copyright Infortis All rights reserved

SEO Suite Pro. User Guide

Version USER GUIDE

install the extension:

Product Name: Size Chart Popup Version: Document Type: Help doc Author: Milople Inc.

Content Management System

Table of Content. 1. Mofluid Installation. 2. Mofluid Uninstallation. a. Magento Connect b. Manual Installation

Installation, Configuration, and Usage

USER GUIDE Slink for Magento

X-POS GUIDE. v3.4 INSTALLATION SmartOSC and X-POS

MAGEJAM PLUGIN INSTALLATION GUIDE

ProxiBlue Dynamic Category Products

FORTIS. User Guide. Fully responsive flexible Magento theme by Infortis. Copyright Infortis. All rights reserved

SFC Featured Categories, Magento Extension Documentation

ProxiBlue Gift Promotions

Fortis Theme Update Guide

LICENTIA. InvoiceXpress Integration

Create e-commerce website Opencart. Prepared by : Reth Chantharoth Facebook : rtharoth@yahoo.

MyanPay API Integration with Magento CMS

Setting Up the Mercent Marketplace Price Optimizer Extension

SEO Toolkit Magento Extension User Guide Official extension page: SEO Toolkit

MAGENTO Migration Tools

Magento Extension for Add Multiple Products by Capacity Web Solutions

Multivendor Extension User Guide

Shop by Manufacturer Custom Module for Magento

Criteo Tags & Feed Extension for Magento

Iceberg Commerce Video Gallery Extension 2.0 For Magento Version 1.3, 1.4, 1.5, 1,6

J2T Points & Rewards Magento Extension

Official Amazon Checkout Extension for Magento Commerce. Documentation

Altima Lookbook Free Extension v

DEAR Inventory - Magento Integration Guide

INTRO TO THEMING IN MAGENTO

MAGENTO TRAINING PROGRAM

ekomimeetsmage Manual for version 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0

1. Installation Instructions

JOINUS AG. PowerPay Checkout. Magento Module User Manual. Support:

Follow Up . Magento Extension User Guide. Official extension page: Follow Up . User Guide: Follow Up

Top Navigation menu - Tabs. User Guide 1. &

E-commerce is also about

Product Name: ANZ egate Connect Version: Document Type: Help doc Author: Milople Inc.

M-Turbo: Magento E-Commerce Accelerator Documentation. Michal Unzeitig Jiří Chmiel

OpenCart AliExpress Affiliate Plugin User Guide

GPMD CheckoutSuite for Magento Documentation

Working With Virtual Hosts on Pramati Server

Magento-Twinfield Module

skype ID: store.belvg US phone number:

Solr Bridge Search Installation Guide

Module Private Sales User Manual

Magento 1.3: PHP Developer's Guide

SEO SUITE ULTIMATE GUIDE 1

ultimo theme Update Guide Copyright Infortis All rights reserved

Servired Pro ING Direct Manual by Interactiv4 Version /04/25

Bazaarvoice for Magento Extension Implementation Guide v6.3.4

JTouch Mobile Extension for Joomla! User Guide

SMSNotify Extension. User Documentation. Automated SMS sender and customer relationship tool. SMSNotify User Documentation 1

Running Nginx as Reverse Proxy server

Expresso Quick Install

Newsletter Popup with Free Gift Coupon

Magento Theme Instruction

Software Development & Education Center PHP 5

Magento Theme Instruction

Installation Manual for Catalog Infinite Scroll extension

Google Merchant Center

Magento Community Edition. User Guide. Version 1.8

User Guide. From Getting Started... To Getting More From Your Store. Magento Community Revised, Expanded, and Updated for Magento Community v1.

MAGENTO HOSTING Progressive Server Performance Improvements

CORNERDROP OVERVIEW & CORNERDROP MAGENTO INSTALLATION INSTRUCTIONS CORNERDROP.COM/CONTACT-US

Magento OpenERP Integration Documentation

Joomla! Override Plugin

How To Create A Simple Module in Magento 2.0. A publication of

DPD shipping module documentation. Magento module version 2.0.3

Improved Navigation Magento Extension User Guide

InstantSearch+ for Magento Extension

skype ID: store.belvg US phone number:

User Manual Web DataLink for Sage Line 50. Version 1.0.1

How to pass Magento Certification Exam in 30 days Published by David Nguyen at Smashwords Copyright 2013 David Nguyen

NT Authentication Configuration Guide

About This Document 3. About the Migration Process 4. Requirements and Prerequisites 5. Requirements... 5 Prerequisites... 5

Prestashop Ship2MyId Module. Configuration Process

Using Internet or Windows Explorer to Upload Your Site

Plugin Integration Guide

EC SUITE TRAFFIC MANAGER

HOW TO CREATE THEME IN MAGENTO 2

Recommended File System Ownership and Privileges

edream Fixed Header edream Market

CARSTORE RESPONSIVE MAGENTO THEME

OpenCart AliExpress Retail Plugin User Guide

Global Amazon Integration Module v1.1. Users Guide & Setup Instructions

Magento Integration Manual (Version /24/2014)

Important Notice. All company and brand products and service names are trademarks or registered trademarks of their respective holders.

Welcome to the Magento User's Guide Last modified by diglin on Fri, February 27, :09 Source Old Revisions. Chapter 1: Introducing Magento

Transcription:

User Guide Author: Version: Website: Support: Johann Reinke 2.2 https://www.bubbleshop.net bubbleshop.net@gmail.com

Table of Contents 1 Introducing Bubble Full Page Cache... 3 1.1 Features... 3 1.2 Compatibility... 3 2 Installation... 3 2.1 Instructions... 3 2.2 Multiple hosts... 4 2.3 APC... 4 3 Customization (for developers)... 5 3.1 Accessing the configuration in Magento admin panel... 5 3.2 Cacheable Actions... 5 3.3 Dynamic Blocks... 6 4 Cache generation methods... 7 4.1 From Magento admin (recommended)... 7 4.2 wget command... 8 4.3 PHP script... 8 2

1 Introducing Bubble Full Page Cache 1.1 Features The module Full Page Cache boosts your Magento store drastically by adding a low level caching system that bypass the all Magento stack on each request. Here are the main features: 90% faster than default Magento caches Drastically decreases pages load time Caches by default all categories, products, catalog search, sitemaps and CMS pages Increases SEO rating Fully compatible with multi domains, multi stores, multi currencies, multi languages, multi customer groups No Varnish or any reverse proxy needed Cache management in Magento admin panel Cache lifetime Easy installation in 5 minutes Works out of the box Fully compatible with default Magento caches, Magento compilation, APC Pre- warm cache from Magento admin or PHP script (can be added as cron) 100% open source, no PHP encoder used 1.2 Compatibility Bubble Full Page Cache has been tested successfully on the following Magento versions: Magento Community Edition 1.7.x, 1.8.x, 1.9.x. Magento Enterprise 1.12.x, 1.13.x, 1.14.x. 2 Installation 2.1 Instructions Backup your existing database Download and unzip extension in your Magento root folder Clear cache via System > Cache Management > Flush Magento Cache Enable Full Page Caching in System > Cache Management Finally, modify your index.php file located in Magento root folder so it looks like this: Important: if you have defined a default store view with a code different than default, you have to add another line that defines the default store view like below: 3

2.2 Multiple hosts If you have defined several hosts on a same Magento installation, you have to configure what is the default store for each host in top of file index.php. Here is an example for a french store view with a specific host: 2.3 APC If you are using APC as an opcode cache, you have to be aware of the configuration. Check if the directive apc.stat is set to Off (or zero). If it is, you have to define the full page cache directory as excluded by adding the directive: apc.filters="-var/fpc/.*" 4

3 Customization (for developers) 3.1 Accessing the configuration in Magento admin panel 3.2 Cacheable Actions The default cached pages should be enough for improving performances of your Magento store. But you can add your own pages easily. You just have to follow the syntax <module>/<controller>/<action>. Here is an example: 5

If you don t want an existing page to be cached, you can disable it by clicking the Edit link, see result below: 3.3 Dynamic Blocks Default Magento dynamic blocks are already handled by FPC extension such as welcome message, flash messages, polls, cart items, etc. However, sometimes you ll have to add your custom logic because you have a dynamic block to show in your product page for example. This can be achieved easily with FPC thanks to an event that is dispatched when a page cache is generated. Example of a custom dynamic block 1. Listen to the dispatched event <!-- app/code/local/your/module/etc/config.xml --> <?xml version="1.0" encoding="utf-8"?> <config> <modules> <Your_Module> <version>1.0.0</version> </Your_Module> </modules> <global> <events> <bubble_fpc_layout_params> 6

<observers> <your_module> <class>your_module/observer</class> <method>onfullpagecachegeneration</method> </your_module> </observers> </bubble_fpc_layout_params> </events> </global> </config> 2. Add your criteria in observer method <?php // app/code/local/your/module/model/observer.php class Your_Module_Model_Observer { public function onfullpagecachegeneration(varien_event_observer $observer) { $layout = $observer->getevent()->getlayout(); if ($layout) { // Example of a country parameter added to all pages $layout->setcustomercountry('france'); } } } 4 Cache generation methods 4.1 From Magento admin (recommended) Go to System > Configuration > Full Page Cache and you will see the Store View tab by default: Then, generate cache for a specific store view: 7

All URLs of the store will be called and the cache will be generated: 4.2 wget command Generate cache via wget command is the most powerful method but it is also the longest because it generates the cache for all the pages. Here is an example of how to generate cache for all the pages of the default store view: wget http://www.mystore.com -r --delete-after -nd -R png,jpeg,jpg,gif,zip,txt,pdf -X "/customer,/checkout,/catalog,/wishlist,/tag,/sales" --cookies=off --header "Cookie: store=default" You are free to customize this command, for example by accepting only.html files: wget http://www.mystore.com -r --delete-after -nd A html --cookies=off --header "Cookie: store=default" 4.3 PHP script The module comes with a PHP script that allows you to call all the URLs of a specific store. For example, you can generate cache of the default store view with the following command: 8

php shell/fpc.php --generate --store default Another example for french store view: php shell/fpc.php --generate --store french 9