drupal/varbase_performance_base

A recipe to manage default performance optimization modules, caching configurations, and speed enhancements for Varbase.

Installs: 8

Dependents: 1

Suggesters: 0

Security: 0

Type:drupal-recipe

pkg:composer/drupal/varbase_performance_base

1.0.x-dev 2026-02-04 20:48 UTC

This package is auto-updated.

Last update: 2026-02-04 18:30:21 UTC


README

A recipe to manage default performance optimization modules, caching configurations, and speed enhancements for Varbase.

This recipe provides core performance features including:

  • Page caching with a 15-minute default lifetime optimised for Lighthouse
  • CSS and JS preprocessing and aggregation
  • ImageMagick as the default image toolkit for broader format support
  • WebP image conversion for optimised delivery
  • Image API optimization pipeline

Installation

Add the recipe using composer:

composer require drupal/varbase_performance_base:~1.0.0

Change directory to /web or /docroot

Run the Drupal recipe bash script:

bash core/scripts/drupal recipe recipes/contrib/varbase_performance_base

or

Run the Drush recipe command:

ddev drush recipe ../recipes/varbase_performance_base

Performance Features

Page Caching

  • Page cache lifetime set to 900 seconds (15 minutes)
  • Dynamic page cache enabled for authenticated users

Asset Aggregation

  • CSS preprocessing and aggregation enabled
  • JS preprocessing and aggregation enabled

Image Optimization

  • ImageMagick v6 configured as the default image toolkit
  • Image quality set to 75 for a balance between file size and visual quality
  • WebP conversion enabled via imageapi_optimize_webp
  • ImageAPI optimize pipeline for automated image processing

Maintainers

License

GPL-2.0-or-later