静态内容的版本信息甚至可以在开发人员模式中看到。
喜欢
pub/static/version1536693046/frontend对于清漆或其他缓存很有用,但是在服务器返回时很痛苦,无法找到特定的版本。
发布于 2018-09-11 19:39:33
这可以关闭更新core_config_data,然后清理和清除magento缓存。
mysql> select * from `core_config_data` where path = 'dev/static/sign';
+-----------+---------+----------+-----------------+-------+
| config_id | scope | scope_id | path | value |
+-----------+---------+----------+-----------------+-------+
| 82 | default | 0 | dev/static/sign | 1 |
+-----------+---------+----------+-----------------+-------+
1 row in set (0.01 sec)
mysql> update core_config_data set value = 0 where config_id = 82;其他方法将按照Magento2指南的建议,从magento登录到存储> System >配置> Advanced > Developer > Settings。这里。
在这两种情况下都应该清除缓存。
https://stackoverflow.com/questions/52283109
复制相似问题