webscale-networks/magento-varnish 问题修复 & 功能扩展

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

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

webscale-networks/magento-varnish

最新稳定版本:1.0.4

Composer 安装命令:

composer require webscale-networks/magento-varnish

包简介

Webscale module responsible for managing varnish cache

README 文档

README

Allows to setup and configure Webscale varnish cache implementation.

Installation

To install extension run the following in magento root directory:

composer config repositories.webscale-networks vcs https://github.com/webscale-networks/magento-varnish.git
composer require webscale-networks/magento-varnish

After composer installs the package run next Magento commands:

php bin/magento module:enable Webscale_Varnish
php bin/magento setup:upgrade
bin/magento cache:clean

Once completed log in to the Magento admin panel and proceed to configuring the extension.

Configuration

To enter the credentials open a browser and log in to the Magento admin. Next, navigate to:

Stores > Configuration > Webscale > Varnish

Enable the module by switching Enabled to Yes under General Configuration section and enter API token:

Webacale Varnish Configuration

Save the configuration. Next, click on Sync Accounts button under Application section:

Webacale Varnish Configuration

Once accounts synced select Account, Application and Environment in the corresponding fields and save configuration.

Webacale Varnish Configuration

After setting up Account and Application navigate to Stores > Configuration > Advanced > System, open Full Page Cache section and select Varnish Cache in Caching Application field:

Webacale Varnish Configuration

Optional

You can also select Enable Debug under Developer section - this option will enable more detailed server logs:

Webacale Varnish Configuration

Log file can be found at MAGENTO_ROOT/var/log/webscale.log.

Managing Varnish Cache

Webscale varnish cache will be flushed by default with all Magento native cache events, partial by tags or full cache flush. To flush specifically Webscale varnish cache navigate to System > Tools > Cache Management and click Flush Varnish Cache button under Additional Cache Management section:

Webacale Varnish Configuration

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-21