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

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

问题描述

如何清空Drupal缓存:




  • 没有 Devel模块

  • 不在新节点等中运行一些PHP语句

  • 不进入数据库本身



有效地,您如何指示最终用户清除其缓存?

解决方案

当您登录(显然,网站的每个用户都不得不为清除缓存提供电源),应该在管理>站点配置>性能中显示一个页面。 / p>

而且,在页面底部,应该有一个按钮(例如清除缓存数据)清除缓存 p>

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





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


How do I empty the Drupal caches:

  • without the Devel module
  • without running some PHP Statement in a new node etc.
  • without going into the database itself

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

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.


As a reference, you can take a look at How to Clear Drupal Server-side cache

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

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