gfe/autorefreshcache

通过 cron 自动刷新缓存

安装: 11

依赖者: 0

建议者: 0

安全: 0

星标: 1

关注者: 1

分支: 1

类型:magento2-module

dev-master 2020-07-22 12:57 UTC

This package is auto-updated.

Last update: 2024-09-22 22:37:49 UTC


README

Magento 2 模块,用于通过 cron 自动刷新缓存。对于许多商店,您希望尽快获取前端更改,并厌倦了手动刷新缓存。

如果您喜欢这个工具并觉得它对您有帮助,请在这里捐赠 https://paypal.me/frithjofdev

安装

composer require gfe/autorefreshcache:dev-master

请在 CLI 中运行以下命令

php bin/magento setup:upgrade

php bin/magento cache:flush

php bin/magento setup:di:compile

确保 crontab 中有 cron:run

基于 https://www.emiprotechnologies.com/technical_notes/magento-technical-notes-60/post/automatically-refresh-cache-using-cron-in-magento-2-484

这样您可以轻松地将它作为 composer 模块使用