如何清空 Drupal 缓存(没有 Devel) [英] How do I empty Drupal Cache (without Devel)

查看:24
本文介绍了如何清空 Drupal 缓存(没有 Devel)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何清空 Drupal 缓存:

How do I empty the Drupal caches:

  • 没有开发模块
  • 无需在新节点等中运行一些 PHP 语句
  • 无需进入数据库本身

实际上,您如何指导最终用户清除他的缓存?

Effectively, how do you instruct an end user to clear his caches?

推荐答案

当您以管理员身份登录时(显然,并非网站的每个用户都有权清除缓存),应该是管理 > 站点配置 > 性能"中的一个页面.

When you are logged as an admin (obviously, not every user of the site has to power to clear the cache), there should be a page in "Administer > Site Configuration > Performance".

而且,在页面底部,应该有一个按钮(类似于清除缓存数据")来清除缓存

And, at the bottom of the page, there should be a button (something like "Clear cached data") to clear the cache

据我所知,Devel 不需要这样做,而且你真的不需要去数据库,也不需要运行一些自制的 PHP 代码.

As far as I remember, there's no need for Devel to do that, and you really don't need to go to the database, nor run some home-made PHP code.


作为参考,可以看看如何清除Drupal服务器端缓存

这篇关于如何清空 Drupal 缓存(没有 Devel)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆