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
18 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
16 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
2answers
52 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
21 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
35 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
23 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
48 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
37 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
23 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
68 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
21 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
15 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
43 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
27 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
9 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
27 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
49 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
33 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
55 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
9 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
22 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
38 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
60 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
21 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
50 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
13 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
22 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
44 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
20 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
16 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
31 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
19 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
92 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
61 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
40 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
49 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: ...
2
votes
0answers
56 views

Content type disappear when cache is cleared

Lately, every time I clear the cache, my content types are systematically deleted. I use Drupal 7.36. The main plugins I use are the following: Views 3.10 Chaos Tools 1.7 Entity API 1.6 and ...
-1
votes
1answer
31 views

Difference between DRUPAL_CACHE_PER_PAGE and DRUPAL_NO_CACHE

What is the difference between DRUPAL_CACHE_PER_PAGE and DRUPAL_NO_CACHE? I'm developing a module that will generate 2 blocks for menu and it's sub-menu in different blocks and can't decide between ...
0
votes
0answers
10 views

Search Results Templates Strange Cacheing Behaviour

I've been trying to resolve an issue with my search results templates. There are two scenarios that I could really use some help with understanding: I have no search result templates inside my ...
1
vote
0answers
47 views

leverage browser caching on a drupal site

I have ran a site through Google Page speed insights and one of its recommendations is to leverage browser caching for https://www.google-analytics.com/analytics.js. Is this possible on a Drupal Site ...
2
votes
1answer
111 views

Aggregated CSS/JS file names, when regenerated?

What triggers the aggregated/compressed CSS/JS file names to be regenerated? Because of the default header for .css and .js set in Drupal's stock .htaccess is 2 weeks, this causes issues with Varnish ...
0
votes
0answers
31 views

How can I clear the image styles cache for an individual image file?

I'm attempting to clear the image styles cache for an individual image file every time I edit that image. On my site, I have a content type, Profile Picture, and I'm using the following code: ...
1
vote
1answer
34 views

How to change non-color-related CSS after the color module has been used?

I haven't used the color module in years, since I try to avoid it because I know it kind of freezes your CSS changes. I have a client who has been using color module with a customized version of the ...
0
votes
2answers
68 views

Drupal 7 changes Last-Modified header, even if the resource hasn't changed

Unless I'm mistaken, Drupal is changing the "Last-Modified" HTTP header for a page any time the page cache is regenerated - even if the raw content remains identical. This means that clients end up ...
0
votes
0answers
31 views

Increase perfomance of site [duplicate]

I am using TB Mega Menu in header. The setup is Drupal 7.35 + Oracle + Apache2. Theses are all the items which takes more execution time. How can I cache menu items path and all Js and CSS files.
0
votes
0answers
27 views

Has the Block Cache Settings from Drupal 8 been back-ported to Drupal 7?

I noticed in Drupal 8 there are options to cache a block: I was wondering if these options exist in Drupal 7 with a module? Has the feature been back ported? or was it a contrib module to begin ...
0
votes
0answers
22 views

Form action=“/cron.php”

I got a custom form in a block, wich is available on my homepage. After e while the form action changes to action="/cron.php" instead of action="/nl". I can't figure out where this fault is comming ...