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
14 views

How can I clear the image styles cache for an individual image file?

I'm attempting to clear the image styles cache for an individual image file every time I edit that image. On my site, I have a content type, Profile Picture, and I'm using the following code: ...
1
vote
1answer
17 views

How to change non-color-related CSS after the color module has been used?

I haven't used the color module in years, since I try to avoid it because I know it kind of freezes your CSS changes. I have a client who has been using color module with a customized version of the ...
0
votes
2answers
17 views

Drupal 7 changes Last-Modified header, even if the resource hasn't changed

Unless I'm mistaken, Drupal is changing the "Last-Modified" HTTP header for a page any time the page cache is regenerated - even if the raw content remains identical. This means that clients end up ...
0
votes
0answers
31 views

Increase perfomance of site

I am using TB Mega Menu in header. The setup is Drupal 7.35 + Oracle + Apache2. Theses are all the items which takes more execution time. How can I cache menu items path and all Js and CSS files.
0
votes
0answers
13 views

Has the Block Cache Settings from Drupal 8 been back-ported to Drupal 7?

I noticed in Drupal 8 there are options to cache a block: I was wondering if these options exist in Drupal 7 with a module? Has the feature been back ported? or was it a contrib module to begin ...
0
votes
0answers
11 views

Form action=“/cron.php”

I got a custom form in a block, wich is available on my homepage. After e while the form action changes to action="/cron.php" instead of action="/nl". I can't figure out where this fault is comming ...
1
vote
1answer
24 views

base_url in settings.php with mobile version

I've both www.example.com and m.example.com pointing to the same directory in Ubuntu and there was in the settings.php with this line: $base_url="www.example.com"; I want to ask what will happen ...
0
votes
1answer
15 views

Store mysqli-connection object in cache

I have some code in a drupal 7 site that makes repeated requests to an external database using mysqli. To speed up the code, I was hoping that I could store the mysqli-connection object in the cache, ...
1
vote
0answers
25 views

Custom module data storage

In Drupal 6, I'm writing a custom module that generates several pages (as a Drupal newbie). Mainly public form pages for soliciting donations - users fill out their info (amount, frequency, etc.) and ...
1
vote
1answer
47 views

How can I prevent a particular page being cached in Drupal 8

I have activated the cache on my Drupal 8 site, and of course all pages are cached as expected. However, I'd like to have a specific page bypass that cache. In my controller I built the page as ...
1
vote
1answer
13 views

Cache + random + hook_form_user_register_form_alter

for a captcha purpose, I'm trying to set a random number in the hook_form_user_register_form_alter For example : function my_module_form_user_register_form_alter(&$form, &$form_state) { ...
0
votes
1answer
18 views

This form was missing from the server cache on Drupal 8

On my site I do this: I got a form with this field: 'myfile' => [ '#title' => $this->t('MyTitle'), '#type' => 'managed_file', '#upload_location' => 'public://myfolder', ], And ...
0
votes
2answers
25 views

What is cache_menu in Drupal 7 DB? Safe to empty?

What exactly is doing this cache_menu table in MySQL Database of my Drupal 7? It is the hugest table of all = currently 308 mb.... (and I have disabled search term indexing, so this is absolutely ...
0
votes
0answers
12 views

Using Lazy Pane: How to cache a panel pane after it was loaded using ajax

I have a panels page that uses Panels Tabs loading panes with Ajax. It uses the module Lazy Pane https://www.drupal.org/project/lazy_pane, but a solution with any other module or method is welcome. ...
1
vote
0answers
32 views

Drupal cache problem, strange issue

I have a site on Drupal 7. After migration on new server I have some issues. Site works normally and everything is ok, but after some time I can't see images, can't upload new images and don't work ...
0
votes
0answers
23 views

Template destreoyed, Regions lost after Flush Caches

I did a Flush all caches - and all my Template is destroyed and my own made Regions disappeared, their content showed up as disabled, due to "invalid region".... It's a production site, it was ...
0
votes
0answers
24 views

How to disable caching of Views blocks on per user basis?

I created a Views block "Similar content", which shows nodes similar to current. I want content of this block to be cached, but renewed every hour. So I set Time-based caching with "1 hour" value, and ...
0
votes
1answer
35 views

Is there a way to run a shell script on a custom cron?

I'm new to all this so maybe this isn't the best solution, but I've created a shell script cache warmer. wget --quiet http://www.example.com/custom-sitemap.xml --output-document - | egrep -o ...
0
votes
0answers
26 views

Views(Cache enable, pagination enable) page is showing page 1 data after page 1

I am using some caching modules like views_content_cache, cache_actions, entity cache for caching. I have created a page using views(cache enable) with pagination. The problem is when i go after page ...
4
votes
2answers
123 views

How does Drupal Cron effect Page Cache?

I'm trying to figure out how Drupal's cron effects the page cache of my site. It would be nice to store as many pages in the cache table as possible so that when requests are made they are being ...
5
votes
1answer
75 views

Views caching strategies - relationship between query cache and rendered output cache

First off, I'm trying to ensure due diligence and not duplicate questions that have come up before. There are numerous posts on stackexchange, and various other places, that discuss views caching and ...
1
vote
2answers
76 views

How can I bypass the Minimum cache lifetime when programmatically clearing the cache?

Is it possible to clear the cache of individual node without regard to the minimum cache lifetime in the cache settings Drupal 7? It seems like node_save clears the cache: ...
0
votes
0answers
11 views

aggregated JavaScript and css corrupted on production server only [duplicate]

Am having an issue with my production server with aggregated Javascript and css files getting corrupted this works fine on the local dev server any ideas on what maybe the cause of this. Here is a ...
2
votes
1answer
42 views

Image Cache only clears when clearing my browser cache

When I update my image style (for example adding a water mark overlay) the only way I can see the change is if I clear my browser cache. I am using the ImageCache Actions module. I downloaded a fresh ...
0
votes
1answer
32 views

Devel issue - “Rebuild the theme registry on every page load” won't work

I use D7. My site is being hosted on a "Shared" Server at Siteground.com. My site doesn't have any CSS/JS aggregation what so ever (see attachment), and I'm sick and tired of clearing the cache ...
0
votes
1answer
42 views

CSS\JS Aggregation “Shuts down” Firebug indication

I have CSS\JS Aggregation on, and I've installed the AdvAgg module and set it for Development mode. The site works fine, but now I can't really use Firebug... Firebug no longer shows me, for example ...
0
votes
1answer
30 views

Drush clear cache without the codebase

Is possible to clear the cache using drush (or else?) when I don't have the codebase anymore. Here is the use case: I deleted the codebases of a lot of sites with backing up. Now I'm going to backup ...
0
votes
0answers
12 views

Response time of server very high for Drupal pages - not for PHP pages [duplicate]

I have an installation of Drupal in a dedicated server. It apparently loads very fast, but when I use tools for webmasters, I see the Warning of too high response time from server, of about 0.36 ...
0
votes
1answer
39 views

Is it possible to disable CSS and Javascript aggregation by role?

Is it possible to disable CSS and Javascript aggregation by role? That way during content editiong or administration stages the user is not affected and can check the CSS alright, while end users ...
3
votes
4answers
158 views

How to prevent Autocomplete Caching?

I have made textfield to be autocomplete field by using hook_form_alter. mymoudle_form_alter(&$form, &$form_state, $form_id){ $form['field_state']['und'][0]['value']['#autocomplete_path'] ...
-1
votes
2answers
686 views

I am sick and tired of clearing cache after the smallest of the CSS changes

I use D7 and I'm tired of clearing the cache after every css change (I make lot's of changes to my online site, about ten's in a day)... Clearing the cache ten's of times a day consumes too much ...
0
votes
1answer
43 views

Huge variations on page load times [closed]

I've build a website using Drupal 7 (7.34 now) and used quite a lot of modules (CiviCrm, Views, Panels, Webform, etc). I recently put this site live at my hosting provider and now I'm experiencing ...
0
votes
0answers
9 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
15 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
15 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 ...
1
vote
2answers
16 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
27 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
39 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
44 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
30 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
23 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
18 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
29 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
33 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
12 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?
0
votes
0answers
9 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
69 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 ...
4
votes
2answers
62 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
36 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
23 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 ...