Download the PHP package peachcode/module-fpcwarmer without Composer

On this page you can find all versions of the php package peachcode/module-fpcwarmer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-fpcwarmer

PeachCode FPCWarmer Module

Overview

The PeachCode FPCWarmer module is designed for Magento 2 to generate a queue of URLs and warm the cache for faster page loads. The module interacts with a database to manage URL entries, generate a queue, and initiate the cache warming process.

Features

Installation

Step 1: Install the module via Composer

  1. Add the module to your project using Composer:

  2. Run the setup upgrade command to enable the module:

  3. Deploy static content if in production mode:

CLI Commands

The module includes two main CLI commands for managing the queue generation and cache warming process.

Command 1: Generate Queue

Command:

This command generates a queue for warmer. It processes sitemaps, extracts the URLs, and stores them in the database for cache warming.

Command 2: Process Queue

Command:

This command processes the queue of URLs and warms the cache for each entry in the queue.

Cron Jobs

To automate the queue generation and cache warming, cron jobs can be configured for both commands:

  1. Generate Queue Cron Job: This cron job will call the peachcode:fpcwarmer:generatequeue command at scheduled intervals.
  2. Process Queue Cron Job: This cron job will call the peachcode:fpcwarmer:processqueue command to process the generated queue and warm the cache.

Logging

The module logs its activities into a custom log file located at:

All important actions, such as queue generation, URL processing, and cache warming, are recorded in this file for debugging and monitoring.

Configuration

Enable/Disable Module

To enable or disable the module, you can use the following commands:

Customization

Support

For any issues or support, please contact the module developers at [email protected].

License

This module is licensed under the MIT License.

Magento 2.4.6

Magento 2.4.6.p1-p3


All versions of module-fpcwarmer with dependencies

PHP Build Version
Package Version
Requires php Version ~8.1.0||~8.2.0
ext-libxml Version *
ext-simplexml Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package peachcode/module-fpcwarmer contains the following files

Loading the files please wait ....