drupal/varbase_performance_base 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-02-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固