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
0answers
4 views

Date iCal feed and caching output

I am using the Date iCal module to create an ical feed of events that can be imported from the url into a calendar program such as Apple Calendar, Outlook, or even Google Calendar. The feed/url work ...
0
votes
0answers
6 views

Block loaded via AJAX needs to use $_SERVER['HTTP_REFERER'] but cannot because that is the page itself

I'm caching my site and blocks but using the AJAXblocks module to load a dynamic module that I do NOT want cached after the cached page has already loaded. This works great, but now what I want is for ...
0
votes
0answers
9 views

Error 330 and encoding content

on a drupal 6 website i encounter encoding issues for anonymous user. on 2 differents pages like : http://www.lycee-brise-lames.fr/lycee/outils I enable the JS compression but this not seem to fix ...
0
votes
2answers
11 views

How can I display a message to visitors from a specific referer with caching enabled? [on hold]

I want to show a certain message to visitors coming from a certain website. I setup a block that only shows up if the refering domain is what I'm looking for. However, with caching enabled this ...
0
votes
0answers
8 views

I had an error Resources are Full on the Drupal website and then the CSS file was generated only half [closed]

I had an error Resources are Full. This error went off on refreshing the page. But later the css file generated was incomplete which led to css issues on website. On checking different aspects which ...
1
vote
2answers
15 views

Is Drupal cache as set in the core enough for simple sites?

Let's imagine a site which is almost completely static. There are news which are rarely updated and from time to time some new content in the form of more news. If there are only anonymous users apart ...
0
votes
0answers
9 views

I am getting temporary file could not be copied because the destination directory is not properly configured error.

The specified file temporary://fileDTbhYD could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More ...
1
vote
0answers
23 views

How to clear ALL cache, including field and filter caching of nodes and fields?

I'm working on a text format filter module. Now, somehow Drupal keeps the node content in some cache that is not refreshed with drush cc all, which I would have hoped to "clear all cache". This is ...
0
votes
0answers
27 views

Clearing drupal's cache causes an error 403 in some pages of my site

When I empty all drupal's caches in my website, I get a 403 error in some pages of my site, I solved this problem by enabling or disabling the views UI Module, but it gets very annoying to do this ...
0
votes
0answers
26 views

How to save boost cache for long time?

I have site with 100000+ pages, which almost never change. New pages are created but never changed then. I'm using Boost module for caching such pages. It takes long time to create cache for all ...
0
votes
1answer
19 views

Show first view result, but show next result when the view's cache is cleared

I'm trying to show a featured image on my homepage. This image will be pulled in by a view that returns 1 result. I then change the caching of the view to 1 day. What I would like is for each time ...
0
votes
0answers
17 views

Trying to understand caching when data is dynamic?

I have a content type with a field called: "secretword". When viewing the page, I have logic in the tpl.php file that determines if this field is going to be shown to the user. The logic for whether ...
1
vote
0answers
12 views

Amazon S3 module how does the local cache work and where is it at?

I'm using the Drupal Amazon S3 module and just wondered where/how the local cache works. Does it reduce file gets to S3? From what I can see there is an amazons3 table in the db and I can see ...
0
votes
1answer
19 views

Bitnami Installation forcing me to flush caches while theming

I recently set up a Drupal 7 installation on an AWS ec2 instance with Bitnami. When I'm theming, or editing any kinds of files in the sites directory a regular browser refresh won't show the ...
0
votes
0answers
10 views

Caching mechanism disables date field and time fields at times. Clearing caches enables them again. How do we resolve this forever?

Caching mechanism disables date field and time fields in my forms. It works when i clear the cache. How do we resolve this forever? Any way to fix this forever or any way this doesn't happen?
-1
votes
0answers
12 views

Drupal + nginx, low Requests per second

I'm running Drupal 7 on centos with nginx, php-fpm and mariadb. OpenVZ VPS server with 1 core, 1000MB ram and ssd. When page was benched with "ab -n 100" there were about 10 Requests per second. I've ...
0
votes
0answers
8 views

Resetting admin cache

I am having an issue with the cache on my site's admin section. I recently created a module that includes some admin pages. I made a mistake with hook_menu, setting the wrong permissions for the ...
0
votes
1answer
43 views

Is a block changed programmaticaly with hook_block_view_alter cached?

I have a lateral section which will be different for every page in my site, but the content is practically unaltered for every single page. I had the intention of using hook_block_view_alter. I would ...
3
votes
1answer
45 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
29 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
21 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
57 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
43 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
33 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 ...
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
17 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
28 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
32 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
118 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
57 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
39 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
111 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
43 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
45 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
55 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
67 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
188 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
35 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
509 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
41 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
20 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
41 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
76 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
50 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
43 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
35 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
38 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
152 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 ...
1
vote
1answer
56 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
61 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 ...