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)

3
votes
0answers
35 views

How to force caching to work for View with filter by date offset?

Faced with a strange situation: if a View uses filter "Post date" (or similar) with an offset (eg, "> = -1 month"), this View won't cache. Example: I create a simple View with Block display. Field: ...
0
votes
1answer
25 views

Clean url disabling not working

For some reason Drupal is parsing my landing pages address with both alias and clean url. Meaning that the landing page for new users becomes /dashboard&destination=node/30 instead of ?q=dashboard ...
0
votes
0answers
19 views

Drupal cache not here?

I'm in charge of a website that have an huge amount of queries all the time, so we activated drupal cache (in performance). It was great, for all guests the page was very fast to load (not so fast for ...
2
votes
1answer
43 views

Change file path of aggregated CSS file path

How do I go about changing the file path of the aggregated CSS file paths? As most of you know, when using the Drupal option (from admin/config/development/performance) to 'Aggregate and compress CSS ...
0
votes
3answers
35 views

Prevent caching of a node

I'm working on facebook like button for drupal 8. It's about to be done, but I've faced a trouble. Whenever I change the configuration of my module, I still need to clear all caches manually for the ...
0
votes
1answer
29 views

Security concerns with cache_get() and cache_set()

are there any security concerns with Drupal's cache_set() and cache_get() functions? I mean, I receive some values through an Ajax-GET-request. Can I pass them to the two functions with the following ...
-1
votes
0answers
29 views

Livereload in omega4 theme doesn't work with multiple instances ? / Caching issue

I have spent weeks looking for a solution to this issue by myself and also on the forums but it seems that no one encountered this problem precisely.. (I'm french, so my english is not perfect and ...
0
votes
1answer
10 views

Drupal 7 Cache API troubleshooting

I'm trying to cache an object returned after a 3rd party API call via HTTP. The API charges based on calls, so I'm trying to cache the information returned for some period of time. However I don't ...
0
votes
0answers
11 views

Alter view with hook_views_post_render and save results to cache

How can I alter the results of a view with hook_views_post_render but save the altered output to cache, in order to avoid the overhead of altering the results on every request? The ideal scanario ...
0
votes
1answer
23 views

Removing cached reference to missing table: services_user?

When trying to update user profiles via the Services module (not via drupal) - calling mysite.com/drupalgap/user/1.json as a POST with correct parameters - I'm getting the following error: 500 ...
0
votes
1answer
30 views

drupal loses track of a library (leaflet), randomly

I have an strange problem with a library (leaflet). I have some maps, and it works fine, but randomly (as far as I have been able to detect) drupal is unable to find leaflet.js and leaflet.css (it ...
3
votes
1answer
106 views

Is flush and clear cache the same?

I know this is a very basic question. Is flush and clear cache the same in Drupal 7? How will I flush cache in DRupal 7? It seems like the only available option for me is clear cache. But I saw a ...
1
vote
0answers
53 views

What causes node edit pages to get expired?

This is a very strange thing I have ever faced in Drupal. When I open a node edit form and the process takes time usually more than 1 minute when I click on save the page gets reloaded and nothing is ...
0
votes
2answers
37 views

How to give a user the rights to “clear cache”

I need to give a user the ability to "clear cache" since he sometimes does some changes to the menus, etc... How can I give him a right to do that, or can I just send him a URL or post something on ...
-2
votes
1answer
99 views

How can I avoid clearing caches when CSS changes are made?

Every time I make the slightest CSS change, I need to clear cache to see the changes. What can be done about this?
0
votes
0answers
19 views

Unable to login / Warning: array_flip(): Can only flip STRING and INTEGER values!

My site has completely become unusable as it's not allowing users to log in into the site. The problem happened when I truncated the accesslog, login activity tables from the database. Later I ...
0
votes
1answer
31 views

Boost not refreshing views page

I am using Drupal 7.32 and the latest Boost, Boost Crawler and Cache Expiration modules. My 'normal pages' refresh fine with boost when i amend them ie. articles, Basic Page, Content Type node, but if ...
3
votes
4answers
49 views

How can I invalidate a cache on a specific View?

I am facing a situation where I need to invalidate a specific View in order to initiate clearing the cache on that View. views_invalidate_cache() clears ALL cached Views data, for every View on the ...
1
vote
1answer
54 views

Why my website is showing junk characters?

My Drupal 6 website is showing junk characters like: <�h�3�>�C�o�m�m�e�n�t�s�<�/�h�3�>� �<�t�a�b�l�e�>�<�t�r� �b�g�c�o�l�o�r�=�'�#�E�7�E�7�E�F�'�>�<�t�d�>�P�o�s�t�e�d� �O�n�:� ...
5
votes
1answer
172 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
21 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
269 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
40 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
17 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
34 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
58 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
38 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
37 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
33 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
32 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
126 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
41 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
51 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
75 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
51 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
68 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
26 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
149 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
34 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
26 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
381 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
39 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
49 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
53 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
230 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
139 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
26 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
33 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
44 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 ...