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
2answers
32 views

DrupalDatabaseCache is causing performance issues

I have devel query log / page execution time enabled on my site and most of the queries which are slowing down my site are related to DrupalDatebaseCache. DrupalDatabaseCache::set Sample Query : ...
0
votes
1answer
9 views

Drupal 6, Boost Cache, External CDN?

I have been thrown into a Drupal 6 environment, helping a client whose site has been running terribly for some time now. Among other issues, they had a ton of traffic and were serving it all locally, ...
0
votes
2answers
34 views

Backup & Migrate: Restored changes lost after clearing cache

I have a live and a development version of a Drupal 7 site. I want to keep them as close in content as possible so I am using the Backup and Migrate module to take a backup of the live site and ...
-2
votes
0answers
26 views

How to disable caching completely in Drupal 7 [duplicate]

This question has been asked numerous times before but I am not satisfied with the answers. The previous answers focussed on how to clear and rebuild caches easily, but that's not what I need. I don't ...
1
vote
1answer
23 views

Is there a way to force some block caching despite system block caching option is disabled?

In /admin/config/development/performance settings page, my "cache blocks" options is disabled due to "Block caching is inactive because you have enabled modules defining content access restrictions." ...
0
votes
2answers
44 views

How to disable/turn-off drupal 7 caching permanently, to not to mess with module's operations?

I am using Drupal 7 for a real time web application so I cannot afford any caching at all. I also could not find any such option in performance section of Admin Panel. Kindly suggest a method with ...
0
votes
0answers
17 views

Drupal multi-site Aegir caching strategy

We are migrating many sites from various content management systems onto a single Drupal/Aegir platform. We used to have a high density of sites on the same servers and Aegir definitely makes managing ...
-2
votes
2answers
27 views

Cache flushing doesn't help after manual deletion of entity references

I have a little function that deletes specific entity references directly from database. Because of fact that it bypass the whole entity_load / entity_save system it flushes cache of all entities it ...
0
votes
1answer
39 views

Is it necessary to cache data generated by menu_tree_all_data and menu_tree_output called in preprocess_page

In hook_preprocess_page in my template.php I'm using this code: // Get the entire main menu tree $main_menu_tree = menu_tree_all_data('main-menu'); // Add the rendered output to the $mobile_menu ...
0
votes
0answers
17 views

The max-age value appears to be: 0

I'm trying to get varnish working, but it gives me the following error message. Varnish appears to be responding at that url, but the Cache-Control header's "max-age" value is less than 1, which ...
1
vote
1answer
36 views

7 Increase the “Expires” header

I am trying to optimize a Drupal 7 site. I noticed the Expires header is set to just 6 hours, although according to my .htaccess file, it should be 2 weeks. Then i found out mod_expires module is not ...
1
vote
0answers
27 views

Drupal 7 - How do I cache / gzip a webform page?

I have my frontpage as a webform and want to know how I can provide compression to this page as drupal does not cache/gzip a webform page due to the forms. What are some possible solutions to this?
0
votes
0answers
28 views

Clear caches, manually [closed]

I have a problem. A friend php-commented the login form (the actual form node's content or whatever it is, at user/login) and cannot login. Then he cleared the cache to refresh the content. He did it ...
2
votes
1answer
66 views

node_delete and caching

Why is it that node_delete (which calls node_delete_multiple) empties all node cache even though it has the list of specific nids? I have 200K+ records, all of which I would like to cache ...
1
vote
1answer
46 views

Is it proper to perform a db_update on an entity table?

I have a custom entity. During a save operation, under certain circumstances, I need to change the value of a specific field (not field API) of some other entities (of the same type). If I perform a ...
0
votes
1answer
16 views

Commerce Product Attributes are not changing in the placed order

I have a commerce site with T-shirts as products. I have added custom attributes of size and type. By default L Size is selected. But even if the user changes the size to something else say M or S, ...
0
votes
1answer
26 views

Boost + Domain Access + flushing cache

I have the Boost and Domain Access modules working correctly. But I've found that if the cache is flushed for one domain it doesn't clear for the others. So if content is added to one, it won't show ...
0
votes
0answers
18 views

Troubles with theme registry on cache rebuild

I have node_widget module installed and I want to display a node widget inside a form. It works on a fresh Drupal 6 installation, but on my website it doesn't. However, I noticed the following ...
0
votes
0answers
34 views

How really flush cache in D7?

EDIT My problem is that i have a module on a D6 website that should get some data from another website (a D7) but thoses data are old ones that should not exist. The D7 site have a Forum. The last ...
1
vote
1answer
61 views

Drupal cannot generate the derived image ANYMORE?

OK, My situation is really complicated (or Im stupid). I start my website http://rlsgame.org with Drupal System (even if Im .NET developer)... After 3 month, my website start grow up (about 2000 ...
1
vote
1answer
79 views

Drupal Caching and hook_init

So I was considering using hook_init() to do stuff but I'm not understanding what it means when it says that "This hook is not run on cached pages." Oh really? So as an experiment I made sure caching ...
1
vote
0answers
27 views

Boost + Expire: Front Page not expiring from cache

I am using Boost and Cache Expiration. My site generates nodes automatically and adds them via node_save(). I have setup Expire to get triggered on node insert, update and delete and to let the front ...
-1
votes
1answer
83 views

Install APC and Memcache and their extensions [closed]

I am building a drupal 7 site. My site is currently hosted on the bluehost - shared hosting. When I tried to install APC module I got the following error: "The APC module needs the apc extension see: ...
0
votes
3answers
38 views

Renaming a Content Type Machine Name

I have a really annoying typo right through my Drupal install (db table names, modules...you name it it's right through). Ideally I would like to fix the typo and not recreate the content type/modules ...
0
votes
1answer
44 views

dev site reverts to production site url when clearing cache [closed]

I have moved a copy of my production site to a development box. When I clear cache at admin/settings/performance or save settings on a theme, all of a sudden the URL jumps from ...
1
vote
0answers
26 views

Javascript related problems when using old versions of IE and a proxy server

I have a site that is fairly javascript heavy. It uses the edit module with some custom javascript overrides, some other plugins like fancy scrollbars, flexslider, image cropping, etc. as well as a ...
4
votes
1answer
114 views

How to speed up node add form with around 50 fields?

I had a node add form with around 50 fields, mostly text with 1 field collection (with another 5 fields) and a few entity and term references. The page is taking around 30 seconds to load making it ...
0
votes
0answers
12 views

Views - custom titles dissappear until cache is flushed

On a drupal commerce site we've set a contextual filter on some views with the option to override the title with the first argument. Everything is working fine but evey now and then the title ...
0
votes
1answer
84 views

Drupal max-age=0

Trying to setup the Varnish cache with our drupal installation. Issue is that with all pages, it's sending max-age=0. I've set this in the setttings.php $conf['cache_lifetime'] = 3600; But whenever ...
1
vote
0answers
52 views

Fixing D7 Bug: Block caching within views breaks JS

I have a number of block on pages throughout my site which use views. Within these blocks I have slideshows(flexslider) or use masonry to produce a dynamic layout. If I enable block caching the JS ...
0
votes
2answers
46 views

Issue in clearing cache

i have added modules to my website , but now when i want to open modules from admin section its showing blank and i am getting PDOException: SQLSTATE[42S02]: Base table or view not found:
0
votes
1answer
32 views

DrupalDatabaseCache::set Devel Module

I seem to be getting slow speeds with DrupalDatabaseCache::set and DrupalDatabaseCache::getMultiple i am using drupal 7 and am on a Virtual Private Server on Dreamhost which is running Fast CGI and ...
0
votes
0answers
21 views

How to see if MySQL is caching correctly? Drupal 7

It seems in Drupal 6 it was available in the status page by clicking the MySQL version link and you could see if your MySQL was caching properly or at all. Where can I find this info for Drupal 7?
0
votes
1answer
34 views

Modifying my theme's template.php requires apache restart to see changes

When I make modifications to my .tpl.php file, I assure that changes are "reloaded" by executing "drush cc all". But when I change my template.php file, the only way I have to see the output of my ...
1
vote
1answer
208 views

Drupal 7: Database select query FROM cache_bootstrap brings server down

The below query occasionally takes up to 24 sec and consumes the complete server resources. SELECT cid, data, created, expire, serialized FROM cache_bootstrap WHERE cid IN ('variables'); I was ...
1
vote
1answer
36 views

Problem with table schema

I'm working on an API that pulls data from a Drupal site. Everything has gone pretty well I normally use Drupal Bootstrap to load Drupal use the functions I need then spit out a JSON array. I am ...
0
votes
0answers
41 views

How do I prevent cached “Maintenance Mode” messages to anonymous users?

Sometimes pages show up as under Maintenance Mode for anonymous users while working fine for logged in users (the only logged in users are administrators, and I believe I set it so admins always get ...
0
votes
1answer
36 views

Template name does not take effect

I got a field with xyz as machine name, and I created a field--field-xyz.tpl.php template file, but it does not take any effect. I used the template file to add views-field and views-field-field-xyz ...
2
votes
1answer
36 views

Does [Cache blocks] in Performance means that blocks generated by Views are also cached?

I am working on an old Drupal 6 project. My goal is to boost the performance of the website as much as I can. Among other things I have done, I have already enabled cache Configuration > ...
1
vote
0answers
11 views

Content Aware Caching for Commerce Related Views

Views Content Cache Project Page reads This module implements a views cache plugin that is aware of content and can provide caching for views, until the content in those views changes. Do we ...
0
votes
1answer
25 views

Authcache Caching Cancelled due to php error

I have authcache installed on my Drupal site that runs on commerce(not Kickstart) On all the page I am getting Cache Status: "Caching CANCELED" Message 1: "Canceled: PHP Error: " I enabled ...
0
votes
0answers
36 views

How to get ckeditor to update its cache of ckeditor.styles.js?

I'm using the ckeditor module (not via wysiwyg) on Drupal 7 and I have it configured to use theme's styles. This works, but when I update the styles file the update is not noticed by browsers. I have ...
1
vote
0answers
20 views

Update MySQL Table og_membership, how to then update Drupal without Clear All Cache

New to Drupal and I can't figure this one out. My company wanted an external way of updating a User's group, I found that the groups were located in og_memebership and with a update UPDATE ...
2
votes
2answers
52 views

How do I clean cached paths to modules?

I foolishly did this, when updating a module: # cd /var/www/drupal7/modules # mv MODULE MODULE.old # wget <MODULE_URL> -O - | tar xfvz - After refreshing the module list, I still get the old ...
2
votes
1answer
82 views

cache_menu items are huge [closed]

Drupal 7.24 I have been stonewalled by an interesting problem on a D7 site. Essentially the cache_menu table was getting very large but not just in items (6300 odd) some of the items are enormous. ...
1
vote
2answers
105 views

Alternative ways to clear the Drupal cache

We have a busy database server and when we try to clear the cache on Drupal, Drupal tries to TRUNCATE cache tables and that causes a backlog until the MySQL hits to maximum number of user connections ...
0
votes
2answers
40 views

what will be the cause of redirection loop while accessing view settings page

I have drupal 7.14 setup installed with views module. Whenever i am trying to access "admin/structure/views" the site goes into redirection loop and not opening the views setting page also same ...
0
votes
1answer
68 views

Where does Drupal 7 clear my custom set cookies and how do I stop this?

I have parts of my website that are not controlled by drupal that set cookies. When I access a drupal-run page, my cookies get cleared. I tried to investigate which script does this by placing ...
1
vote
1answer
47 views

How to check if result from cache_get() is expired?

cache_get always returns an object and I'm a bit confused by its values. There's probably a short generic function that can handle this for once and for all. $cache = cache_get('key'); if ($cache) { ...
1
vote
1answer
20 views

What does General Cache Wipe mean

The definition of CACHE_TEMPORARY used in cache_set reads as follows. CACHE_TEMPORARY: Indicates that the item should be removed at the next general cache wipe. I am just curious as to what ...