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

learn more… | top users | synonyms (1)

0
votes
1answer
15 views

Feeds import by http always imports even after deleting the source

I'm using Feeds to import an xml file. I'm using cron to do this every minute. I noticed that if I delete the source file, the import still succeds! It seems Feeds caches the data somewhere and there ...
1
vote
1answer
26 views

Varnish is serving sometime wrong cache theme on desktop or in mobile

Setup - We have Varnish in front of three drupal backend server. Varnish is serving as a cache and load balancer. Load balancer is using round robin director. It also does the device detection ...
0
votes
1answer
21 views

How to clear page cache without rebuilding other caches

I have a large site which uses Drupal cores 'page caching for anonymous users'. I have made some javascript changes which I need to deploy. Since pages are currently cached I will need to clear the ...
0
votes
1answer
17 views

Caching options and modules

My guess is that many ppl like me make Drupal websites just by using modules and simple CSS. Several content types, taxonomies, views, panels or DS to get results fast and more/less nice looking. ...
2
votes
1answer
50 views

Why is Drupal with redis slower than mariadb? [on hold]

I've got a big Drupal site running Commerce, with cloudflare caching static resources, maybe 20K users or more per day. MariaDB caches about 500mb worth of queries, we're running freeBSD with php56 ...
1
vote
0answers
30 views

Is there a limit on menu size after which system performance becomes significantly affected? [on hold]

I am currently dealing with a site which has approx 1300 items in a single menu. The owner is considering adding another couple of hundred pages to the menu. One of the things I am trying to ...
0
votes
1answer
16 views

Are blocks still cached when “Cache block” setting disabled but “Cache pages for anonymous users” is enabled?

I have a site which contains a custom block. The custom block contains a menu based on a sub-set of the site's main menu. The problem is that main menu is very large (~1300 items), so generating ...
1
vote
3answers
50 views

How can I clear the Menu cache after saving some configuration?

I'm in the process of creating my first D7 module, partly based on the tutorial found here. My module creates (among other things) a public page to show some content, and it also has a configuration ...
3
votes
1answer
25 views

Disable caching for custom entity

I have set up access to some custom data by creating ContentEntity classes in my module, so I can query and display that data through Drupal entities. However, that data is also updated by a ...
0
votes
0answers
35 views

menu page callback cache expiration, headers

Drupal 7, custom module to output data in JSON format. Task: create cacheable page that prints string in JSON format. function examplemod_menu() { $items['json'] = [ 'page callback' => ...
1
vote
3answers
38 views

Which cache have to clear to update new hooks?

I added a new hook inside a module (hook_cart_commerce_pricecomponent_type_info_alter), which cache have to clear to only update that new hook? I mean i do not want to clear all caches. ...
0
votes
1answer
25 views

Detect device using Varnish

I have some difficulties finding a correct code (VCL) to configure varnish to detect if the device is a tablet or a mobile or a desktop. Here is the best module version found today, but still not ...
0
votes
1answer
43 views

Prevent Redis Cache from clearing ALL keys

We are using the Redis module and Redis Database as cache with the following setup: $conf['redis_client_interface'] = 'PhpRedis'; $conf['redis_client_host'] = 'redis.internal'; $conf['lock_inc'] ...
0
votes
3answers
72 views

Keyboard hotkey for “Flush all caches”?

Is there any easy way to create a keyboard hotkey to flush all caches in a Drupal site?, instead of going to Admin menu Drupal icon and click that time and again? Thx.
1
vote
1answer
26 views

Boost Module: Delete Cache for single node on update

I use Boost module for Drupal Commerce. How can i clear the cache for only one cached node after updating that node. I don´t want to clear the cache for all nodes but only for the one i updating.
1
vote
3answers
45 views

PDOException: SQLSTATE[42S02] - Base table not found

So I am in a bind and have no idea where to go. I get the following message now after I tried to add a new field to a content type: Error message PDOException: SQLSTATE[42S02]: Base table or view not ...
1
vote
1answer
43 views

Google web font imports breaking with advagg

I'm trying to pass Google Page Insights, and they keep saying we have render blocking CSS. When I try and inline the CSS, it breaks my fonts I'm importing from Google Fonts. I've tried a million ...
1
vote
1answer
64 views

Site Down for few minutes after clearing cache

My site is going down every time whenever I am clearing the cache. Site will works again in 5-10 minutes after refreshing web page 2-3 times. Also I am getting 500 internal server error after clearing ...
0
votes
1answer
43 views

Can I control what caches are flushed via “Flush all caches”?

I use the module Boost and anytime I click "Flush all caches" it deletes all the cached pages already built. Is there any way to make "Flush all caches" to flush all cache instead of the Boost-created ...
1
vote
0answers
25 views

How to debug users geting automatically logged out for unknown reasons?

For our Drupal 6 site, we've experienced such issue that logged-in users are getting logged out for around one week or several days. Firstly I thought this might happen with Boost module, but it ...
0
votes
2answers
139 views

error when trying to clear the cache in drupal

I was going to use mailchimp module to create my newsletter but an error revealed saying that i should install the version 2.0 of librairies, so i delete both modules, started again,that worked just ...
0
votes
0answers
23 views

Caching issue with domain access and media image

If I clear the cache and access the node with media image from a user with no domain access to image, am I going to get empty field from the cache if I access it from super admin? I am currently ...
0
votes
1answer
16 views

“Disabled” regions re-enable after navigating away and back from module page

I have a form module that I would like to have on its own page, with no header, footer, etc.. I thought I was successful with adding hook_menu() and a page callback to render the form's block, then ...
0
votes
3answers
56 views

Clear views cache after node inserted in Drupal 7

I've views which list the list of node details. I've set views cache for 30 mins. I want to clear particular views cache when insert a node. I've tried below code to clear cache but there is no ...
1
vote
0answers
28 views

“?n” appended to URLs… why? How do I prevent this?

When CKEditor references my theme's stylesheet (as well as other resources), it appends ?n to the path. Here's a screenshot from Chrome's web inspector (see highlights): (This is from the ...
0
votes
0answers
12 views

Trigger Authcache Reload on Field Change for Drupal Commerce Products

I activated authcache and the cache system is working well. When i change the price for a product the page is read from the cache. How can i trigger to reload the page from database if one specific ...
0
votes
0answers
35 views

User landed on cached page instead of language selection page

Problem : On multilingual site, varnish caching is enabled. When any user call www.example.com, page gets cached to the first visitor's language preferences. All subsequent visitors get pages in that ...
0
votes
1answer
53 views

What causes very long initial visit load times intermittently?

I'm working on what is basically a one page site externally: http://drupals.badgerfort.com. There's very little to it. But I'm getting reports that it's sometimes loading so slow to the point ...
1
vote
1answer
36 views

Clear cache of node

I am implementing hook_entity_view() in my module. In the hook I am adding a link to the node by rendering a array. The links need to be added only when a certain configuration condition becomes TRUE. ...
0
votes
1answer
16 views

CTools CSS Cache Error on Status Page

I'm getting this error on the Status report page. Advice on resolving this?
1
vote
2answers
68 views

If you update a routes file in Drupal 8 how do you clear the cache?

Having worked with Drupal 7 since its launch, I'm learning Drupal 8. At the moment I'm finding that whenever I change anything I have to do drush cache-rebuild to get things working again. On my VPS ...
0
votes
0answers
13 views

Drupal module Boost pulling the wrong pages

I am implementing the boost module for Drupal on my site and have run into this caching problem. The site caches pages but when visiting as an anonymous user it gives me the wrong cached pages. I am ...
0
votes
0answers
26 views

Ctools session variable and varnish

I have enabled Varnish caching in my webserver. But when I load my pages on web browser, the pages are not showing from varnish (age is always 0 and one value in X-Varnish header). After debugging ...
0
votes
1answer
44 views

Block in Drupal 8

I have coded a plugin in my module which extends block base and generates labels for block in /admin/structure/block page under Place block. These block are being generated for different entities. The ...
1
vote
3answers
83 views

How to disable/enable cache of all views programmatically?

Case: I have over 50 views in my site and for performance improvement all were enabled to cache data during their implementation. Now I want to disable cache for all views at once for some reason ...
1
vote
0answers
25 views

Using captcha in varnish setup

Captcha and any form of page caching don't get along. I understand why this is, but i'm wondering if there might be a certain setup to use captcha even in cached environments. Post requests for ...
1
vote
1answer
52 views

Page Caching wrong CSS

got a weird issue I was hoping someone could help with. I have a site that uses multiple subthemes, with different ones being served depending on url var. IE, subsiteone.mysite.com, and ...
0
votes
1answer
17 views

How to check if a View was cached?

Is there a simple way to check (example: see from UI or browser developer tools) if a rendered View was retrieved from cache or just generated on the page load? This would need to work for every view ...
0
votes
1answer
28 views

Disable client- or proxy-side caching on anonymous pages (Cache-Control header), without disabling server-side caching?

My CDN seems to cache the /user page, which means I can't access my account page after logging in. I could add it to cacheexclude's uncached list, but that would make PHP run for every bot that hits ...
0
votes
0answers
60 views

caching frontpage in cloudflare free?

I've set up cloudflare caching of Drupal's frontpage by adding a Page Rule for my Drupal base URL, with a "Cache Everyting" setting (otherwise, caching is enabled only for certain file extensions). ...
0
votes
1answer
26 views

Unable to Get Image to Un-Cache

I've replaced an image on my home page with another image. I've verified that the new image is there (with the same name as the old image). And it's the only copy. I've run cron and cleared caches ...
1
vote
1answer
20 views

Does the Services module implement caching on GET requests?

Before I build a REST server with the Services module, I'd like to know if the responses to the GET requests are being cached? I searched Google and it seems that caching wasn't implemented, however, ...
0
votes
1answer
39 views

What is the simplest way to flush cache at a predetermined date and time?

For site a) I would like to set up a schedule "page and else"cache clear every day at midnight. For site b) I would like to set up a schedule full cache clear every Wednesday day at midnight. I am ...
0
votes
0answers
25 views

Views Caching Questions

I have a view with multiple fields. One of those fields is the date field and I'm using time ago. 1) I was wondering if there is a way to cache the view and all of its fields except for the date ...
0
votes
0answers
26 views

Boost and expire not working after update

big problem here. I have a website up from 2 years and working with combo of boost cache system and expire to handle clear cache on insert/modify or delete Node. Two days ago I did upgrade of this ...
0
votes
1answer
17 views

cache issue - misaligned views cached output

I am trying to set the view on the home page. http://www.userbase.com/ The content gets misaligned for anonymous user. I can see proper output if I am logged in. Any ides? I am using following ...
0
votes
1answer
139 views

Cache-Control: no-cache despite allowing cache for anonymous users

We have a D7 site I'm trying to cache with Varnish. The assets are caching fine but for some reason every page is served with this header: Cache-Control: no-cache, must-revalidate, post-check=0, ...
3
votes
1answer
63 views

Request a page - as admin - via command line to build up cache

Folks: I have a pretty hefty view page which has been overridden with template files to produce a custom gantt chart for a long list of users. For each row of gantt data - the outputted html is ...
1
vote
1answer
45 views

Wrong caching of embedded views block

I am having trouble with the Cache API in Drupal 8. I embedded a views block with pagination through a field preprocess function into a node. When caching is off, I can normally use the pager and will ...
2
votes
2answers
59 views

xmlrpc() error: (-1001) unable to parse URL during Drush command

I have an odd error coming from Drush when I perform module updates and other commands (it's most consistently comes from module updates). Near the end of the command execution this message pops up: ...