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
1answer
7 views

Does the Services module implement caching on GET requests?

Before I build a REST server with the Services module, I'd like to know if the responses to the GET requests are being cached? I searched Google and it seems that caching wasn't implemented, however, ...
0
votes
1answer
24 views

What is the simplest way to flush cache at a predetermined date and time?

For site a) I would like to set up a schedule "page and else"cache clear every day at midnight. For site b) I would like to set up a schedule full cache clear every Wednesday day at midnight. I am ...
0
votes
0answers
23 views

Views Caching Questions

I have a view with multiple fields. One of those fields is the date field and I'm using time ago. 1) I was wondering if there is a way to cache the view and all of its fields except for the date ...
0
votes
0answers
11 views

Boost and expire not working after update

big problem here. I have a website up from 2 years and working with combo of boost cache system and expire to handle clear cache on insert/modify or delete Node. Two days ago I did upgrade of this ...
0
votes
1answer
15 views

cache issue - misaligned views cached output

I am trying to set the view on the home page. http://www.userbase.com/ The content gets misaligned for anonymous user. I can see proper output if I am logged in. Any ides? I am using following ...
0
votes
1answer
40 views

Cache-Control: no-cache despite allowing cache for anonymous users

We have a D7 site I'm trying to cache with Varnish. The assets are caching fine but for some reason every page is served with this header: Cache-Control: no-cache, must-revalidate, post-check=0, ...
3
votes
1answer
54 views

Request a page - as admin - via command line to build up cache

Folks: I have a pretty hefty view page which has been overridden with template files to produce a custom gantt chart for a long list of users. For each row of gantt data - the outputted html is ...
1
vote
1answer
32 views

Wrong caching of embedded views block

I am having trouble with the Cache API in Drupal 8. I embedded a views block with pagination through a field preprocess function into a node. When caching is off, I can normally use the pager and will ...
1
vote
2answers
25 views

xmlrpc() error: (-1001) unable to parse URL during Drush command

I have an odd error coming from Drush when I perform module updates and other commands (it's most consistently comes from module updates). Near the end of the command execution this message pops up: ...
2
votes
0answers
42 views

Content type disappear when cache is cleared

Lately, every time I clear the cache, my content types are systematically deleted. I use Drupal 7.36. The main plugins I use are the following: Views 3.10 Chaos Tools 1.7 Entity API 1.6 and ...
-1
votes
1answer
19 views

Difference between DRUPAL_CACHE_PER_PAGE and DRUPAL_NO_CACHE

What is the difference between DRUPAL_CACHE_PER_PAGE and DRUPAL_NO_CACHE? I'm developing a module that will generate 2 blocks for menu and it's sub-menu in different blocks and can't decide between ...
0
votes
0answers
7 views

Search Results Templates Strange Cacheing Behaviour

I've been trying to resolve an issue with my search results templates. There are two scenarios that I could really use some help with understanding: I have no search result templates inside my ...
1
vote
0answers
28 views

leverage browser caching on a drupal site

I have ran a site through Google Page speed insights and one of its recommendations is to leverage browser caching for https://www.google-analytics.com/analytics.js. Is this possible on a Drupal Site ...
2
votes
1answer
43 views

Aggregated CSS/JS file names, when regenerated?

What triggers the aggregated/compressed CSS/JS file names to be regenerated? Because of the default header for .css and .js set in Drupal's stock .htaccess is 2 weeks, this causes issues with Varnish ...
0
votes
0answers
24 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
30 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
41 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 [duplicate]

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
17 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
17 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
27 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
26 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, ...
2
votes
0answers
32 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
59 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
15 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
19 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
27 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
45 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
34 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
31 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
31 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
47 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
37 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
159 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
2answers
114 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
97 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
54 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
57 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
44 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
37 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
61 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
190 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
725 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
49 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
11 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
21 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
22 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 ...