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)

5
votes
1answer
125 views

How does CSS and JS aggregration work in Drupal?

When Drupal is set to optimize JS and CSS, it creates the 'js' and 'css' folders in your public file system root. Aggregated JS and CSS get stored in these directories. I've tried to figure out how ...
0
votes
1answer
9 views

Cache SOAP search results from external web service

I've inherited an older Drupal 6 site which calls an external SOAP web service which not only takes a while to query and display results (approx. 5 seconds) but also re-queries the web service when ...
2
votes
2answers
85 views

How to rebuild registry table?

I've truncated registry table, because of the other problems, but now I have problem rebuilding the registry table based on the files listed in the database. I'm calling registry_update(), ...
0
votes
1answer
37 views

Page caching with multiple versions of the cache

My site is very much faster with page caching on. However, I have a custom module that serves 5 different slightly different versions of my content. In other words, people in New York see East Coast ...
0
votes
0answers
8 views

I am getting the following error PHP Fatal error: Class 'VarnishCache' not found in /var/www/html/couponvodoo/includes/cache.inc on line 33

Suddenly my site down and am getting the following error PHP Fatal error: Class 'VarnishCache' not found in /var/www/html//includes/cache.inc on line 33
0
votes
1answer
25 views

How do I get a freshly updated value (i.e. not the cached value) using entity_metadata_wrapper?

In my code I am inserting a new value into the database directly using db_insert (i.e. inserting an entirely new row). The type of field, however, already exists in Drupal which is called ...
0
votes
1answer
30 views

What are some php cache related modules for drupal 7?

i just updated my server to php 5.5 and been reading about apc and opcache, and I'm not to sure which one to use or what modules support this feature. What are some modules or modifications to drupal ...
0
votes
1answer
23 views

Form generated from form cache displays, but missing name and value attributes

I'm having a problem displaying a cached multi-step form in a custom module which generates custom entities. After two steps, the form posts to an external URL (action changed with ...
0
votes
0answers
29 views

X-Drupal-Cache is missing from HTTP headers

X-Drupal-Cache seems to be missing from HTTP headers. The funny thing is that, when I cleared my cookies, it reappears twice: once with a "MISS" and then with a "HIT". After that, X-Drupal-Cache ...
0
votes
1answer
28 views

Views are disappearing randomly; always needing to flush caches

I am writing a module that has 2 views in code. At first, I pasted the code that was exported from views directly into hook_views_default_views() like so... function MY_MODULE_views_default_views() ...
0
votes
1answer
28 views

Stop caching for a specific node (by nid) Drupal 7

Ideally i want to set custom params for caching in some particular nodes using conditions in my template.php E.g. algorithm: for node with known nid set custom caching params But that's enough for ...
1
vote
2answers
93 views

Performance issues with big amount of nodes [duplicate]

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
21 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
34 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
68 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
1answer
28 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
45 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
23 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
65 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
26 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
23 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
267 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
17 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
38 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
34 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
106 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
64 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
41 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
22 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
22 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
39 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
58 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
27 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
16 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
27 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
40 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
28 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
16 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
53 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
15 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
118 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
92 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
48 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
341 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
82 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
35 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
53 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
16 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
57 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
39 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 ...