Magento2 缓存与索引

缓存

php bin/magento cache:flush

下面是清理缓存命令操作

D:\www\magento227testcodazon>php bin/magento cache:flush
Flushed cache types:
config
layout
block_html
collections
reflection
db_ddl
eav
customer_notification
config_integration
config_integration_api
full_page
config_webservice
translate
vertex

刷新索引命令

php bin/magento indexer:reindex

下面是刷新索引操作

D:\www\magento227testcodazon>php bin/magento indexer:reindex
Design Config Grid index has been rebuilt successfully in 00:00:00
Customer Grid index has been rebuilt successfully in 00:00:01
Category Products index has been rebuilt successfully in 00:00:00
Product Categories index has been rebuilt successfully in 00:00:00
Catalog Rule Product index has been rebuilt successfully in 00:00:01
Product EAV index has been rebuilt successfully in 00:00:01
Stock index has been rebuilt successfully in 00:00:00
Catalog Search index has been rebuilt successfully in 00:00:01
Product Price index has been rebuilt successfully in 00:00:01
Catalog Product Rule index has been rebuilt successfully in 00:00:00


Leave a comment

您的电子邮箱地址不会被公开。 必填项已用 * 标注