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)

1
vote
2answers
64 views

Performance issues with big amount of nodes

In the last couple of months I was working on renewing old project's platform from Drupal 5 to Drupal 7. The last step was to migrate old data (from the past year) to the new system. For this purpose ...
0
votes
0answers
11 views

Avoid caching pages for authenticated users with Varnish

I have the following problem: when a user logs in and navigates through pages that he visited when was an anonymous user, he "sees" the cached page instead seeing the page version for logged users. ...
1
vote
0answers
29 views

Drupal and cache in node_load

I have written a simple module for counting node views. For each nid I store 2 numbers: impression and view. 1 Impression is when the node is loaded and visualized in any display mode (teaser, views ...
0
votes
2answers
57 views

How bad is it to use Node_load in a loop in drupal 7?

Something like: for ($i = 0; $i < 100; $i++) { $node = node_load($i); print $node->fieldYouWant; } That is a lot easier to read, gives you access to all the fields etc. However, in a ...
0
votes
0answers
18 views

How to configure boost for multisite configuration

I installed the Boost module in my site. The site is running on multisite configuration having subdomains like http://site1.example.com http://site2.example.com http://site3.example.com ...
1
vote
2answers
38 views

Caching problem. Site only works with cache off

I have this drupal 7 site. I wanted to clone it in order to try some new stuff in it, without working on my localhost. So I did it, following these steps: Cloned the database: mysqldump -h localhost ...
0
votes
0answers
21 views

Why is this administration page cached?

I created a group entity which has a tab 'Pending memberships'. This page callback does a database query which retrieves the pending memberships and renders the usernames in an item list, along with ...
0
votes
1answer
35 views

Drupal web cluster with memcached. memcached failover?

Running Drupal 7 sites (under Aegir) and I'm investigating a method to scale out the web boxes horizontally, so that any Apache server can process a request for any Drupal site. We're currently at ~50 ...
0
votes
1answer
23 views

How do I disable the cache clear on comment form submission?

Unless I'm reading this incorrectly, it looks as if the last thing comment_form_submit does is clear the cache. All of it. This is done so anonymous users see the comment they posted. I have a site ...
1
vote
0answers
22 views

Calendar dateobject performance issues

I am using Drupal 7 and unfortunately there are problems with the calendar module. The calendar itself is used in a relatively small enviroment of 20-40 users, which are all registered userers with ...
7
votes
3answers
162 views

Site performance , cache not working properly

I am using the Performance Logging Module. Above screenshot, one strange thing I noticed that Insert Cache_bootstrap on every page. When you go to any page (both admin theme and frontend theme) ...
0
votes
1answer
11 views

Does performing $entity->save() on field collection programmatically clears the page cache of it's node host?

I am using $entity->save() on a custom hook_cron that runs every minute. Does anyone knows if by doing $entity->save() , Drupal will clear the page cache of the nodes/views/panels housing it?
0
votes
0answers
31 views

How to clear caches after workflow state change?

I have a site with a lot of content in various Workflow states for editorial processes. Only the "Published" state is visible by anonymous users. I use Drupal's basic page caching. For a long time ...
1
vote
1answer
27 views

In which file to add the cache_clear_all function

In my situation I would like a certain block on my page with real time information to not be cached for anonymous users. Literature listed below: https://www.drupal.org/node/42055 ...
1
vote
1answer
66 views

How to set If-Modified-Since HTTP header in my drupal site

I want to implement If-Modified-Since HTTP header in my drupal site. How do I ensure the If-Modified-Since HTTP header is supported and that it is active?. If it is supported but not active then how ...
0
votes
1answer
31 views

Configuration Settings of Authcache + File Cache

I have already file cache module installed and working perfectly except that I've read that it also work with authcache. So I installed authcache but wondering what is the proper configuration in the ...
0
votes
0answers
39 views

Caching home page content instead of actual content

I am facing a problem related to cache. Some of the pages showing home page content instead of actual content. And after clearing the Drupal inbuilt cache ...
0
votes
0answers
19 views

use “no cache” but input filter seems to be cached in Drupal 6

I am trying to display a add to cart button and it only rarely works. It seems to work when the cache is cleared and then not work. I have added the no cache option but this doesn't seem to do ...
0
votes
0answers
12 views

Trying to figure out why Captcha displays sometimes and not others

Drupal newbie. Just enabled Captcha and assigned to forms through Configure window. Captcha doesn't show up for this page: http://fibroids.ucsf.edu/node/126 but does show up for its alias: ...
2
votes
1answer
37 views

Is a DB transaction executed when it is committed?

cache_get() is not working as expected when called in a request initiated by drupal_http_request() on the same server. Is it true that the cache_set() immediately before drupal_http_request() doesn't ...
0
votes
1answer
45 views

How to make form update/rebuild every page load?

Part of my custom form that gathers petition signatures includes some markup saying "last signer: Bob, 3 minutes ago", looked up from a database. But if the user does not submit the form, eg they ...
0
votes
0answers
20 views

tokens disappeared after cache flush

After one of my cache flushes, I found that all of my tokens disappeared. In the browser tab, the title was now [current-page:page-title], [site:name] and I can't edit any content as it gives me this ...
0
votes
0answers
13 views

Multisite Cache Clear

I have a site with multisite settings There is one main site, where all the news are created and those are gotten by the other sites via a direct db_query via a taxonomy tid. This is the part that I ...
1
vote
0answers
22 views

Varnish and expire module adding starts with on regular expressions

I have varnish running with the expire module that sends bans into varnish when an article is published. The problem is that it doesn't expire all versions of an article. Some articles could be ...
1
vote
1answer
38 views

Views caching dont show changes

I'm having a problem with views and caching. Within a custom module, i do changes on my database, which is working fine, but my view won't show that changes until I clear all caches. I tried to ...
2
votes
0answers
26 views

Should I use both caches pane and panels?

this is my first post here on SE after years and years of just using the platform for researching, I hope I do it right! On a D7 site I use several cache systems/layers, mainly filecache, views ...
0
votes
0answers
14 views

Caching issues on alias site

Hello I have a live site which has a web URL ( www.mysite.com) . On sites.php I configured another alias, lets call it apimysite.com. These sites are all on a stack that looks like this: DNS --> ...
0
votes
1answer
48 views

White screen of Death after clearing cache, can't find a way to get the site back up

My problem is that I keep getting the white screen of Death ever since I cleared the cache of my Drupal website. The error is the following : PHP Fatal error: Call to undefined function ...
0
votes
1answer
12 views

Memcached - Saving Custom Array

I have the memcache module installed on Drupal 7. While it works fine I would like to implement some custom caching in some of my modules. For example, if I want to store the array: $data = ...
2
votes
1answer
70 views

How to implement cookieless (sub-) domain with Drupal?

Cookieless (sub-) domains are considered beneficial for a number of purposes: They save some network overhead [1], and they are required for certain types of caching [7] (e.g. reverse proxy like ...
0
votes
0answers
80 views

How to reduce first byte time on a Pressflow (D6) site

The problem: A medium-sized Pressflow site performs OK, when content is delivered through Varnish; content from the backend takes inacceptable long to reach the users browser, and there's too much ...
0
votes
1answer
41 views

TRUNCATE error -1 obliterating my sites

So I'm having a pure and miserable time with Drupal. I keep getting a cache related error: PDOException: SQLSTATE[HY000]: General error: 1030 Got error -1 from storage engine: TRUNCATE {cache} ; ...
-1
votes
2answers
158 views

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32598429 bytes)

I'm new to drupal. I was uploading multiple files to a page and then tried to increase size of the page. However when doing so, I got this error. Fatal error: Allowed memory size of 134217728 bytes ...
0
votes
1answer
71 views

Problem with images not displaying because domain is incorrect

I have recently installed a Drupal site on our web server and this is the default host (replaced an old website with static files). This server also hosts another virtual host for another domain name ...
0
votes
0answers
29 views

Custom layouts in panels not allowing me to add content

I created custom layouts for panels in my theme/layouts folder which I linked up in my .info file. When I create a new one I am able to select it as a layout in panels, but when I click the content ...
0
votes
1answer
45 views

Is Drupal Cache Warmer for real?

I am using Varnish + Default Page cache with a expiring time (1 day) in a site. When I am browsing the site, everything seems loading fine; once I come back to the site after a day or so, the the ...
0
votes
0answers
12 views

Authcache causes pages not to load after cache clearance

I have enabled authcache on my Drupal site. Theoretically the settings seem to work and the Status Report screen shows it is working. However it is causing problems when I try and load a page. ...
0
votes
0answers
43 views

Debugging Authcache and Filecache errors

I have installed Authcache and FileCache modules in an attempt to speed up pages for authenticated users. However I am getting odd error messages that I don't understand how to debug. On an admin ...
0
votes
1answer
33 views

Feeds importer. Only imports a certain amount then stops

I have been attempting to import 5,000+ pieces of content from a CSV file using the feeds module. I have it set up to import 130 items every cron run and i have cron running every hour. All is good ...
3
votes
3answers
181 views

How Do I improve the performance of my Drupal7 Site? [closed]

For somebody who is new to Drupal, I see that there are many resources available on Drupal Caching but I am not sure which of them to use.
1
vote
1answer
54 views

How to cache POST requests with Boost

Boost reacts and caches only GET requests. Does anybody know how to force it to cache POST requests too e.g. using specific key param in URL? Or at least how to call Boost method that caches request ...
0
votes
1answer
76 views

Problems with permanent caching in drupal

My requirement is to update some params in the script for a some specific nodes. If a set of nodes is attached to an X content type, it should take some params in a script. For this purpose I am ...
0
votes
0answers
9 views

Block caching and access modules [duplicate]

Previously I had a serious performance issue on my website. The reason is that I have a big superfish menu with 130+ menu links. Content access module was breaking the block caching, and the website ...
0
votes
0answers
137 views

PHP Fatal Error: Class 'Facebook' not found in

I put the Facebook SDK file in the same directory as my module file. sites/ all/ modules/ rock/ rock.module --> My custom module file facebook.php --> The ...
0
votes
0answers
10 views

Write Permission for Group www-data in /sites/default/files/* [duplicate]

I need the read&write permissions allowed for group www-data on files and folders in /sites/default/files/* . By default the owner of the file uploaded by drupal in /filese/folder1/cache is ...
0
votes
0answers
10 views

Drupal View 3 / CiviCRM integration - block update depends on user authorization

All, In my CiviCRM installation, I support both Individual Contacts and Organization Contacts. For the Drupal site, there is a block based on a view that exposes some information about Organization ...
0
votes
1answer
26 views

How to avoid caching of fields in Entity View?

I have a few computed fields on my entity and they have dynamic values. These values cannot be cached because they change often. I've created the necessary field formatter that uses the same approach ...
0
votes
0answers
20 views

Different cache age for some pages

I'm using Varnish as page cache backend (but maybe it's not relevant). My "Expiration of cached pages" is set on "Six hours", but is there a way to have a greater value for some pages/urls? Thanks, ...
0
votes
0answers
156 views

Difference between APC & Memcached and how both can be used for cache bins

I'm trying to understand the difference between Memcached and APC and why people talk about using one or the other or both. I can't understand why you wouldn't use both because I thought they had ...
1
vote
2answers
67 views

Improving Site Speed and Cache for Authenticated Users

I am building an intranet site. I have the site set up with single sign on via the server authentication module meaning there are no anonymous users. This means large parts of the cache are worthless. ...