This tag is for questions about Drupal's performance, how to measure, and improve it.

learn more… | top users | synonyms

0
votes
1answer
32 views

Analyzing slow mysql querries

Our Drupal site has recently started to get much more traffic and often pegs the CPU and memory when we have 50-100 active connections. We have 8cpus and 16GB of RAM. I notice that when the cpu is ...
0
votes
1answer
20 views

Managing a big news portal in Drupal 7 [on hold]

Recently I have assigned to revamp a big Drupal 6 news portal to Drupal 7. In the old site they used multiple independent sites for each news category and written separate modules to pick latest items ...
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 ...
4
votes
1answer
56 views

Module to cache URLs commonly request by bots?

Open the logs of a dozen Drupal sites and you will see some patterns for non-Drupal packages in the http requests that received a 404 response. Requests like /postnuke/article.php, ...
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
17 views

How to optimize performance rendering node with two entity reference fields without using Views?

I'm challenging myself to not use Views and instead rely on EntityFieldQuery() or Dynamic Database Queries. I have a node Event with a date field and two entity field references to artists that will ...
2
votes
1answer
37 views

Performances with many fields per content type

Drupal creates a new table for every new field in a content type. How much this affects the performance in fetching data when the fields of an entity are 15 or more? Is possible to store all fields ...
0
votes
1answer
18 views

Fast 404 module and Drupal core

I can see that Fast 404 module has been added to drupal core since 7.9 version. So in order to use it on my drupal site(without installing Fast 404 module),is there I need to do in the settings.php ...
0
votes
0answers
8 views

Blocks page running very slowly

Our blocks admin page is loading and running very, very slowly. We have a lot of blocks loading up, but I can't understand why it takes quite so long to load and work with. It must be some slow ...
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 ...
0
votes
0answers
20 views

In Facet API, if I select a item from one category then the count of items in other category will become zero. What can i do for this?

I'm working with facet API, if I have select a item from one category then the count of items in other category will become zero. What can I do for this ? this is before i select a item in a category ...
4
votes
3answers
643 views

Drupal 8 vs 7 performance comparison?

I am wondering if there are any reliable performance comparisons between vanilla D8 vs D7? I have searched the web but only find this which is far from encouraging.
1
vote
1answer
55 views

Views performance issue

I have a website with 4 views (and sometimes 5 views) on the homepage. The problem is that when I try to open the website, it takes minutes to load and the cpu goes crazy because of mysql processes. ...
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. ...
0
votes
0answers
6 views

Highest performant way to edit a views field value inline

I have a complex project management site, which requires performance being optimized for each functionality, especially the way views fields can be edited inline. It has a task list view in which ...
1
vote
2answers
116 views

First page load/execution slow, login slower Drupal 7

Drupal 7 site experiencing slow execution/load time for first page visit and slower execution/load time for login. The web server and database servers are dedicated and well resourced, the site has no ...
0
votes
0answers
9 views

Task list system (view) that responds fast to edits

I need a fast responding task management system. I have tried many approaches like nodes as tasks and a view with editable fields, editable view, flags, ajax flag forms, and even Rate widgets. All of ...
5
votes
1answer
73 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 ...
0
votes
1answer
50 views

Updating few thousand nodes in one time

I have script which updating 2000-5000 nodes in loop and performance is poor. At the moment the code looks like: foreach($nids as $nid) { $node = node_load($nid); // updating $node fields ...
2
votes
0answers
38 views

How do I profile my drupal site which is on shared hosting?

I run a commerce website in a shared hosting, from time to time it's being too slow, I tryied many ways to find the cause (css/js agreggation,enable caching, views caching, disabling some big modules ...
1
vote
2answers
64 views

How to execute request-specific tasks after page response is returned. Does hook_exit() actaully do this?

I'm trying to figure out if it's possible to "hide" the perceived execution time of some end-of-request logging tasks that are page specific and depend on the availability of the Drupal DB API. ...
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
1answer
24 views

HOOK_MENU custom url with argument

I am working with a 300K records dataset and I am having some performance issues. I try creating a node for each of the records on the dataset, but even the simple path translation query is taking ...
0
votes
0answers
58 views

My drupal 7 is very slow even if I did many improvements

I'm builind a Drupal 7 web site using commerce kickstart 2 distribution, the site became very slow, mainly the admin pages. I read many answers here in stackexchange, and some articles talk about ...
4
votes
1answer
42 views

How to avoid invoking the same module every time when I have to call a function of that module in Drupal 7?

When there is a need to call a function inside a module, some of you say- it is good to use module_invoke() inside the template pages to call the function(it looks great-since I can pass arguments ...
1
vote
1answer
47 views

Block loading behaviour in Drupal 8 in a performance sense through the visibility settings

The following scenario: - i have for example a standard block region through a pages of a site: "highlights" - for the frontpage i have an additional region: "highlights_frontpage" - i put a block ...
0
votes
1answer
41 views

Javascript added via drupal_add_js() does not get aggregated

I have a couple custom modules that I add javascript via drupal_add_js(). I have all the Bandwidth Optimizations options checked in the performance page (/admin/config/development/performance). Since ...
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 ...
0
votes
1answer
87 views

Homepage is loading very slow, while internal pages are faster [closed]

I am experiencing very slow load of the homepage and faster load times on internal pages. There's a visualisation of 5500 nodes on the home page. Can this be the cause? I'm always clearing the cache ...
2
votes
2answers
49 views

variable api vs custom table

I have a module Block No Results which displays the no results data when block has no results. Variable Api if I will use the variable api then I need the 4 variables for a single block to keep the no ...
-1
votes
2answers
44 views

Is there a module provides UI to create field index?

My views are quite slow in some cases, needs create indexes on field tables. Is there a module for that?
0
votes
0answers
98 views

Commerce Kickstart 2 Admin Functions Extremely Slow Shared Hosting

I'm having a problem similar to some others posted here: Extremely slow performance in Admin for certain operations, most notably: Adding an Order or saving a View. Basically, it -feels- like SQL ...
-2
votes
2answers
142 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?
3
votes
4answers
87 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
61 views

Which is the most performant way of overriding views field output

This question sureley can only be answered by people with some drupal experience. As I have quite different and complex views, which I need to control totally, I need to come to a design decision. ...
0
votes
1answer
126 views

Zurb vs. Bootstrap themes: About performance [closed]

I'm trying to decide to use Foundation or Bootstrap as a base theme for a redesign, but even if Foundation have a lot of strengths (native sass support as I've read), it seems that it is waaay bigger ...
0
votes
1answer
29 views

skip processing html and page

From a module, I want to output "hello world" simply as a string as efficiently as possible when i call /mymodule/helloworld. ofcourse, using hook_preprocess_html and hook_preprocess_page i can ...
1
vote
2answers
214 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
1answer
41 views

Loading a large node body sequentially for better performance

I have a few very large nodes on my Drupal 7 site. In some cases the body field contains about 2MB of raw HTML (about 250,000 words). Despite the site performing well as a whole, the sheer size of ...
0
votes
0answers
77 views

Solr search much slower for logged in users

I've set up Solr on a Drupal installation with around 11000 indexed nodes. I'm using Apache Solr Search Integration module and the FacetAPI interface. However, I'm finding that searches take around ...
7
votes
3answers
633 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
36 views

Is using nodes for a notification system a performance concern?

I am building a user activity notification system whereby each new notification message is created as a new node which is displayed by Views. To prevent an infinite number of nodes being created there ...
0
votes
1answer
59 views

Performance and javascript issue in a drupal 7 website

I have a drupal 7 website. Currently its performance is not good and takes much time to render the web pages. For performance, I checked out in YSlow and came up with some results like move all js ...
-2
votes
1answer
52 views

Module bloat and performance tuning

We have a site with performance issues. And we are looking for advice on low hanging fruit or other strategies that can have a dramatic increase on performance. The seemingly obvious culprit is ...
0
votes
2answers
353 views

Advagg and Nginx

I have the following errors displayed on my status report page: Adv CSS/JS Agg - HTTP Request HTTP requests to advagg for js files are not getting through. AdvAgg will issue a request for a file ...
0
votes
0answers
36 views

Slow SQL query in Views relationship from Content Profile module

I have a slow SQL query in a view using a relationship from the Content Profile module (D6). My problem is more on the SQL side. Once I have the proper query I should be able to change it. The query ...
0
votes
0answers
28 views

drupal 7 production site is very slow [duplicate]

My production site is very slow now. it was working fine previously. now its take a lot of time to load the home page., even admin page is also very slow. Now I am not able to clear my cache. I am ...
0
votes
1answer
42 views

Node theming through Views or tpl.php files - which one is better for performance?

As an example, let's take a node with 5 fields and two blocks between those fields. E. g. you want an article do be displayed like this: First field Second field Block with related nodes Third ...
1
vote
4answers
270 views

drupal as mobile app backend

Im currently using drupal 7 + commerce for online sales and I have a phonegap app that creates orders. I want to use drupal 7 via a the services module to sync the app sales data with the online ...
0
votes
1answer
33 views

WSOD when trying to configure menu with many items

I have a menu with many nested/multi-lingual menu items (I don’t know the exact number, probably something around 2000-3000). Whenever I try to visit its configuration page in the backend ...