定制 webscale-networks/shopware-varnish-api 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

webscale-networks/shopware-varnish-api

Composer 安装命令:

composer require webscale-networks/shopware-varnish-api

包简介

Webscale Shopware Varnish Plugin.

README 文档

README

Webscale Varnish is a Shopware plugin that connects your store’s full page cache to the Webscale Control Plane, so your store is cached – and stays in sync – at the edge.

In short: Shopware → Webscale Varnish (this plugin) → Webscale Control Plane → Varnish at the edge.

  • Supports: Shopware 6.7.3 and onward
  • Needs: Webscale account (API token + Application ID / environment)
  • Docs: See Further documentation

How it works (high level)

Webscale Varnish does not invent its own cache invalidation rules. Instead it relays Shopware’s existing invalidations to the Webscale platform:

Shopware → Webscale Varnish (this extension) → Webscale Control Plane → Varnish

  • Shopware generates cache invalidation events based on your store configuration.
  • The Webscale Varnish extension receives those events and sends them to Webscale.
  • The Webscale Control Plane applies the invalidations to your edge Varnish cache.

Misconfigured or overly aggressive invalidation in Shopware will therefore still result in frequent cache flushes at the edge.

Requirements

  • Shopware: 6.7.3 and onwards
  • A Webscale account with:
    • API token
    • Application ID / environment configured for your Shopware store

Quick start (installation)

Run the following in your Shopware root directory.

  1. Require the extension

    composer require webscale-networks/shopware-varnish-api
  2. Enable the plugin

    bin/console plugin:refresh
    bin/console plugin:install --activate WebscaleVarnish
    bin/console cache:clear
  3. Log into the Shopware Admin

    After deployment, log into the Shopware admin panel to complete configuration.

Configure Webscale Varnish

Once the module is installed, configure it in the Shopware admin.

1. Configure Webscale credentials

  1. In the Shopware admin, go to:

    Extensions > My extensions > Webscale Varnish
    
  2. Enable plugin and configure credentials:

    • Set Enabled to Yes.
    • Enter your API token.
    • Enter your Application Id (the Webscale application that corresponds to this Shopware store).
  3. Click Save.

Webscale Varnish Configuration

Debug mode

Webscale Varnish Configuration

Enable Debug Mode under the Developer Settings section to get more detailed logs from the extension.

  • Log file path: var/log/webscale-varnish.log in your Shopware root.
  • Use this when troubleshooting cache behavior or connectivity with Webscale.

Further documentation

Platform-wide Webscale and Varnish documentation, configuration guidance, and troubleshooting guides are available at:

统计信息

  • 总下载量: 1.97k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固