Skip to content

A recipe to manage default performance optimization modules, caching configurations, and speed enhancements for Varbase. Includes page caching, asset aggregation, image optimization, lazy loading, and CDN integration support.

License

Notifications You must be signed in to change notification settings

Vardot/varbase_performance_base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Varbase Performance Base

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

About

A recipe to manage default performance optimization modules, caching configurations, and speed enhancements for Varbase. Includes page caching, asset aggregation, image optimization, lazy loading, and CDN integration support.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published