magento full page cache extension | technical … · 2. copy the magento-sample.conf file to your...

5

Upload: others

Post on 19-Jul-2020

19 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Magento Full Page Cache Extension | TECHNICAL … · 2. Copy the magento-sample.conf file to your site-enabled folder. 3. Open the conf file and replace the docroot and server_name
Page 2: Magento Full Page Cache Extension | TECHNICAL … · 2. Copy the magento-sample.conf file to your site-enabled folder. 3. Open the conf file and replace the docroot and server_name

Magento Full Page Cache Extension | TECHNICAL DOCUMENTATION

magento.evozon.com 2 [email protected]

Magento Full Page Cache Extension Contents

CHAPTER 1 .............................................................................................................................................................. 3

1. INSTALLATION .................................................................................................................................................. 3

1.1. Requirements ............................................................................................................................................. 3

1.2. How to Install the Full Page Cache Extension ............................................................................... 3

1.3. How to Install and Configure the Full Page Cache Server Side ............................................... 5

1.4. How to Configure Full Page Cache Extension ............................................................................... 5

CHAPTER 2 .............................................................................................................................................................. 7

2. HOW TO EXTEND AND MODIFY THE EXTENSION ............................................................................ 7

2.1. Route and page .......................................................................................................................................... 7

2.2. HolePunch ................................................................................................................................................... 8

2.3. Properties .................................................................................................................................................... 9

CHAPTER 3 ........................................................................................................................................................... 11

3. WARMUP .......................................................................................................................................................... 11

3.1. Cache Warmup ....................................................................................................................................... 11

3.2. Warmup Cron Schedule ...................................................................................................................... 12

3.3. Extend Warmup Functionality ......................................................................................................... 13

Page 3: Magento Full Page Cache Extension | TECHNICAL … · 2. Copy the magento-sample.conf file to your site-enabled folder. 3. Open the conf file and replace the docroot and server_name

Magento Full Page Cache Extension | TECHNICAL DOCUMENTATION

magento.evozon.com 3 [email protected]

CHAPTER 1

1. INSTALLATION

1.1. Requirements

"PHP": >=5.3.0

“Magento EE”: >= 1.2.0 and “Magento CE” : >= 1.7.0.2

“OpenResty”: >= 1.7.x

“Redis”: >= 2.0 or “Memcached” : >= 1.4.20

1.2. How to Install the Full Page Cache Extension

This chapter illustrates the extension’s installation process using the direct package file upload

method.

In order to install the extension using an archived file, log into Magento Admin and access:

System → Magento Connect → Magento Connect Manager (Fig 1.1).

Next, enter the admin user credentials and click Log In. After a successful log in process,

this page will appear (Fig 1.2).

FIG 1.1

Page 4: Magento Full Page Cache Extension | TECHNICAL … · 2. Copy the magento-sample.conf file to your site-enabled folder. 3. Open the conf file and replace the docroot and server_name

Magento Full Page Cache Extension | TECHNICAL DOCUMENTATION

magento.evozon.com 4 [email protected]

In the Direct package file upload section, browse for the package archive file, select it and

then click Upload. Once the package file is uploaded, Magento will install it. Next step will

be to log out from Magento Admin.

FIG 1.2

Now log back into Magento Admin and access System → Configuration. You should be

able to see a new configuration tab named EVOZON containing a section named Full Page

Cache. If the tab shows up in the configuration page, it means the extension is enabled and

loaded by Magento.

After the extension was successfully installed, access System -> Configuration -> EVOZON

-> Full Page Cache -> Troubleshooting.

FIG 1.3

Fig. 1.3 shows the troubleshooting section with recommendations on how to improve Full

Page Cache.

Before Enabling Evozon Full Page Cache, YOU NEED to disable all other Full Page

Cache solutions installed.

Page 5: Magento Full Page Cache Extension | TECHNICAL … · 2. Copy the magento-sample.conf file to your site-enabled folder. 3. Open the conf file and replace the docroot and server_name

Magento Full Page Cache Extension | TECHNICAL DOCUMENTATION

magento.evozon.com 5 [email protected]

1.3. How to Install and Configure the Full Page Cache Server Side

In order to install the Full Page Cache Server follow these steps:

1. Extract files from the Evozon_FPC_Server.tgz archive into the OpenRestry folder. 2. Copy the magento-sample.conf file to your site-enabled folder. 3. Open the conf file and replace the docroot and server_name with your values. 4. Restart Nginx/Openresty.

sample*: Thanks for viewing this sample! The full text manual is included in the downloadable

file you’ll receive after purchasing the extension.