All Projects → quickshiftin → Wfpc

quickshiftin / Wfpc

Licence: gpl-3.0
Magento full page cache warmer

Projects that are alternatives of or similar to Wfpc

Lesti fpc
Simple Magento Fullpagecache
Stars: ✭ 362 (+281.05%)
Mutual labels:  magento, cache
magento2-LiteSpeed LiteMage
LiteMage Cache Extension for Magento 2
Stars: ✭ 27 (-71.58%)
Mutual labels:  cache, magento
Cashier
Persistent caching for python functions
Stars: ✭ 80 (-15.79%)
Mutual labels:  cache
Offline Gallery
🎈 A 16kb Preact & Redux based Progressive Web App that offers an offline gallery experience of external images.
Stars: ✭ 90 (-5.26%)
Mutual labels:  cache
Ecomdev layoutcompiler
Layout Compiler for Magento
Stars: ✭ 87 (-8.42%)
Mutual labels:  magento
Blink
Cache that expires in the blink of an eye
Stars: ✭ 82 (-13.68%)
Mutual labels:  cache
Fastly Magento2
Module for integrating Fastly CDN with Magento 2 installations
Stars: ✭ 88 (-7.37%)
Mutual labels:  magento
Awesomecache
Delightful on-disk cache (written in Swift)
Stars: ✭ 1,223 (+1187.37%)
Mutual labels:  cache
Drone Volume Cache
Drone plugin for caching to a locally mounted volume
Stars: ✭ 93 (-2.11%)
Mutual labels:  cache
Ignite Book Code Samples
All code samples, scripts and more in-depth examples for the book high performance in-memory computing with Apache Ignite. Please use the repository "the-apache-ignite-book" for Ignite version 2.6 or above.
Stars: ✭ 86 (-9.47%)
Mutual labels:  cache
Ffimageloading
Image loading, caching & transforming library for Xamarin and Windows
Stars: ✭ 1,288 (+1255.79%)
Mutual labels:  cache
Node Cached
A simple caching library for node.js, inspired by the Play cache API
Stars: ✭ 85 (-10.53%)
Mutual labels:  cache
Trafficserver
Apache Traffic Server™ is a fast, scalable and extensible HTTP/1.1 and HTTP/2 compliant caching proxy server.
Stars: ✭ 1,258 (+1224.21%)
Mutual labels:  cache
Sjmediacacheserver
A HTTP Media Caching Framework. It can cache FILE or HLS media. 音视频边播边缓存框架, 支持 HLS(m3u8) 和 FILE(mp4, mp3等).
Stars: ✭ 87 (-8.42%)
Mutual labels:  cache
Magento Ce Ee Config Corruption Bug
Explanation and fix for the Magento Enterprise '100 router match iterations' / Community 'no 404 CMS page configured' bug
Stars: ✭ 83 (-12.63%)
Mutual labels:  magento
Next Offline
make your Next.js application work offline using service workers via Google's workbox
Stars: ✭ 1,306 (+1274.74%)
Mutual labels:  cache
Tache
A tag based invalidation caching library
Stars: ✭ 80 (-15.79%)
Mutual labels:  cache
Typerep Map
⚡️Efficient implementation of Map with types as keys
Stars: ✭ 85 (-10.53%)
Mutual labels:  cache
Quickstart Magento
AWS Quick Start Team
Stars: ✭ 88 (-7.37%)
Mutual labels:  magento
Api Restful Con Laravel Guia Definitiva
Repositorio para el código base del curso "API RESTful con Laravel - Guía Definitiva"
Stars: ✭ 95 (+0%)
Mutual labels:  cache

wfpc

FREE Magento full page cache warmer

wfpc relies on a sitemap.xml file; you can read how to generate one for your Magento site here. Once you have a sitemap generated (and an FPC configured), you're good to hit the site with the cache warmer.

Usage

Testing Performance

wfpc has two modes of operation, the first is test mode. This randomly selects 10 URLs from your sitemap to load. An example

./wfpc -t http://mymagentosite.com/sitemap.xml

You'll see a fancy summary of your site's performance

Finished testing your Magento site performance
Total download time (in seconds)   : 5.0269110202789
Total download time (formatted)    : 0:0:5.026
Average page time (in milliseconds): 502.69110202789

Warming the FPC

To actually warm the FPC, use -w as the first argument. wfpc will fetch each URL listed in sitemap.xml synchronously.

The warmer will run an initial test, warm your entire site, then test again and report on performance gain

Finished warming your Magento site performance
Average page time (in milliseconds): 517.31648445129
Speedup is 75.07%

Delayed requests

If you want to put a delay between requests, you can add a -d=delay-seconds after the -w argument. An example

No delay
./wfpc -w http://mymagentosite.com/sitemap.xml
With 1 second delay
./wfpc -w -d=1 http://mymagentosite.com/sitemap.xml

Test or Run on unsecure urls

./wfpc -k -t https://192.169.1.234/sitemap.xml
./wfpc -k -w https://192.169.1.234/sitemap.xml

If you have a large site with a lot of URLs to warm, you might consider running wfpc within a screen session.

Magento 2 FPC configuration tips

Magento 1 FPC configuration tips

  • Lesti FPC is a free full page cache and it works well
  • Make sure you have a reasonably high TTL for your FPC. If your pages expire from the FPC quickly, there's not much point to warming them all!
  • Disk-based FPC caching seems practically just as beneficial as memory-based caching on SSD servers. Unless you really need too, you're probably better off only using memory to cache core Magento data and using the disk for your FPC.
  • If you're using a memory-based store for your FPC like APC, Redis or Memcache, keep an eye on the usage of the store as your cache is warming. For example, if you have a large site you want to cache, you may overrun your cache storage limit if you're not careful!

Notes

  • The script should run on Windows, but I haven't tested it there. You'll probably need to run it as php wfpc args... in that case.
  • The script relies upon a few things in PHP
    • Filter extension
    • SimpleXML extension
    • allow_url_fopen = 1
  • This script will actually work for any site that has a sitemap.xml file. If you have an FPC mechanism on a site running something other than Magento, you may still find the script useful!
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].