drupal/varbase_performance_base
Composer 安装命令:
composer require drupal/varbase_performance_base
包简介
A recipe to manage default performance optimization modules, caching configurations, and speed enhancements for Varbase.
关键字:
README 文档
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
- ImageAPI optimize pipeline for automated image processing
Maintainers
License
GPL-2.0-or-later
统计信息
- 总下载量: 1.72k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2026-02-04