Questions tagged [drupal-cache]

Caching is the use of a faster data store to improve response time, by reducing the amount of processing.

Using a fast temporary data store of previous requests, performance can be inproved. There are many technologies and techniques available to achieve better performance.

Improving results is the first tier of performance gains can be achieved relatively easily, however caching is a complex subject requiring great skill and knowledge to achieve the best results.

Refer to Drupal caching, speed and performance for implementation information.

15 questions
20
votes
12 answers

How do I empty Drupal Cache (without Devel)

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?
alexanderpas
  • 2,712
  • 2
  • 23
  • 33
3
votes
1 answer

How to refresh a cached Drupal page?

Is it possible to let Drupal refresh one particular cached page? Currently, one page of our site shows some dynamic table data by Table Wizard. After some update in MySQL table, the page does not fresh. I assume it's due to the site caching is on…
ohho
  • 50,879
  • 75
  • 256
  • 383
2
votes
1 answer

Cache: How to exempt just one block

I've got a Drupal 6.x install, and there is one block generated by the Station module which displays the name of the show currently playing. Is there a way to make just that block exempt from caching? Alternatively, can I insert a 'refresh' for…
1
vote
2 answers

Drupal 8. How to clear cache at 12 am? Or another specific hour

Drupal 8. How to clear cache at 12 am? Or another specific hour, for example 2pm, 7pm etc.
Aleksandr
  • 59
  • 3
1
vote
2 answers

Disable cache on browser without disabling it on varnish

I have a varnish running on centos 7. My site works whit Drupal. Varnish work perfectly, but the browsers cache stuff as well and it affects what users are seeing. When adding posts to the site varnish resets the cache, but the browser cache…
matisa
  • 497
  • 3
  • 25
1
vote
1 answer

How long do Drupal caches last?

Using the devel module I can see a lot of calls to cache_get() and cache_set(). After how long does a cached value need to be refreshed? Does the cache get invalidated every few minutes?
Kay Pale
  • 6,449
  • 7
  • 28
  • 28
1
vote
0 answers

How can I force a block not to be cached for unauthenticated users?

I have a php block which I would like to be refreshed on every page load/reload. Although I have disabled all caching under Site Configuration -> Performance the block is still being cached. Although I've googled a great deal on this I haven't found…
Tom
  • 177
  • 1
  • 2
  • 9
0
votes
1 answer

Drupal 8 caches. Relative date caches issue. Field should display "Yesterday" but still display "Today"

Drupal 8. Please help to find the best solution. I have nodes that should display created date. If node created today text should be - "Today" If yesterday - "Yesterday". In other scenarios should display just creation date - 22/02/1999. I've…
Aleksandr
  • 59
  • 3
0
votes
4 answers

Drupal authenticated user unable to log out

I have been trying to find a solution to a problem I have been having with this new drupal site I created. I created various users with different roles to test that the permissions they are given are in order, and a problem popped up. This has been…
limitlex
  • 3
  • 1
  • 3
0
votes
1 answer

Read/write data with blocks on Boost cached pages

I have a module that supplies a block. The block is set to BLOCK_NO_CACHE, and its content is pulled from a function. It lets a site admin create a 'message' to display on the site, kind of like CNN, where a breaking update is displayed at the top,…
Kevin
  • 13,153
  • 11
  • 60
  • 87
0
votes
0 answers

Drupal 7.0 Views 7.x-3.14 Time-based cache is not functioning as expected

I must admit some of this caching stuff is over my head, so this may be a misunderstanding on my part of how this is supposed to function. But essentially I have a View with the following traits: pulling six different fields (2 text, 2 date, 1…
0
votes
0 answers

Files are not getting included. Images CSS URL's not working after migrating server code to local

I have downloaded drupal code and database from server. I am trying setup local environment, I am unable to include Images and Css's. On server its working fine but when I run the drupal setup on local gives error on including files. Am using…
Mangesh Sathe
  • 1,987
  • 4
  • 21
  • 40
0
votes
1 answer

Easy way to bypass cache in Drupal when visit certain URL

Mainly when synchronizing via HTTP, the data must not be from cache. Is there a way, like query parameter in URL to bypass cache of any kind in Drupal. Something like request-url?cache=0
Hao
  • 6,291
  • 9
  • 39
  • 88
0
votes
2 answers

Are Drupal theme settings cached?

i want to change theme_username, a core theme function that outputs that dreadful "not verified" string on users who are not logged in (when they comment, for example). i want a checkbox in admin/build/themes/settings/MYTHEME to change that. but…
Capi Etheriel
  • 3,542
  • 28
  • 49
0
votes
3 answers

White Screen Of Death when Cache is cleared in Drupal

I am getting White Screen of Death while trying to clear the cache in Drupal 7 installation. In my local machine it caused me no problem. The issue started when I deployed it to server. I tried to display the errors using the…
neeraja
  • 140
  • 1
  • 3
  • 14