Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [performance]

Use it for questions about Drupal's performance, how to measure, and improve it.

6
votes
2answers
590 views

Module to cache URLs commonly request by bots? [closed]

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, /exchange/logon....
0
votes
1answer
266 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 with?
0
votes
0answers
265 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 ...
4
votes
1answer
1k 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 ...
1
vote
1answer
915 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 ...
2
votes
0answers
59 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 ...
2
votes
0answers
52 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 ...
11
votes
4answers
10k views

Are there any performance comparisons?

Are there any reliable performance comparisons between vanilla Drupal 8 versus Drupal 7? I have searched the web but only find the post "Drupal 7 vs Drupal 8 Performance Comparison", which is far ...
1
vote
1answer
163 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. ...
2
votes
1answer
39 views

Error entries in Watchdog duplicated dozen and hundreds of times

I have seen that the table watchdog in my MySQL database is growing enormously, and after TRUNCATE, I see that for each visit to a single page, it generates hundreds of inserts, and when seeing them, ...
2
votes
2answers
2k 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 ...
7
votes
1answer
1k 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
300 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 ...
3
votes
1answer
150 views

How do I profile a site that 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
792 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
183 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 ...
3
votes
1answer
621 views

Disable opcache.use_cwd for Drupal

In PHP Opcache there is an option opcache.use_cwd. Disabling it improves performance, but in documentation mentioned that this may break existing applications: If enabled, OPcache appends the ...
0
votes
0answers
495 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
91 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 too)...
1
vote
1answer
115 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
173 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 ...
1
vote
1answer
262 views

Is Drupal scalable across multiple geographical locations?

I'm investigating how a Drupal site can be scaled across multiple geographical locations. The primary requirement for this is high availability. The site should be able to run despite some sort of ...
1
vote
0answers
33 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
2answers
133 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 ...
0
votes
2answers
247 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
423 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 ...
0
votes
2answers
916 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?
7
votes
5answers
4k 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
146 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
540 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
60 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 ...
0
votes
1answer
68 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 ...
1
vote
0answers
280 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 ...
9
votes
3answers
2k 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) Insert ...
1
vote
2answers
74 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
205 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 ...
-1
votes
1answer
91 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
3answers
2k 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
1answer
62 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
1answer
970 views

How to speed up Batch API processing

Ok, so I've got a script that's going to go through about 13000 nodes (which might be part of the problem, but I don't think it is). I can either put them as one large array, which seems to go ...
1
vote
3answers
933 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 store....
1
vote
1answer
67 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 (/admin/...
0
votes
2answers
388 views

admin/config page taking around 30 seconds to load; the rest of the website loads fast

I have a new Drupal install and it works allright, everything loads fast, except for the Configuration page at admin/config. What I have done so far to try to tackle the problem: - Disabled all ...
0
votes
1answer
71 views

Does adding more processing power increases Drupal Page Load Speed

I have a site hosted on Acquia Cloud.all the unnecessary modules are uninstalled. The site has only couple of nodes (300 almost)and lot of imported registered accounts. Below optimizations are enabled ...
0
votes
2answers
40 views

Get only one field from profile

I have a profile field called "myutr" that I need to pass to the browser, for ALL pages, via js drupal_add_js(....) I know that $user does not contain profile fields so to get the value of this ...
10
votes
3answers
12k views

How Do I improve the performance of my Drupal7 Site? [closed]

For somebody who is new to Drupal, I see that there are many resources available on Drupal Caching but I am not sure which of them to use.
0
votes
1answer
445 views

Changing numbers of render-blocking JavaScript and CSS

I have a drupal 7 site. I use the Advanced CSS/JS Aggregation module In the past I asked this question, and tried to improve performance and "Eliminate render-blocking JavaScript and CSS in above-the-...
1
vote
2answers
406 views

Improve performance by using drush functions instead of Drupal module functions

I am trying to improve the import performance of a drupal website we are working on. The site makes use of the queue api to import individual items. Currently this process is very slow. I have hear ...
0
votes
1answer
291 views

Boost crawler - maximum time to use for crawling on every cron run?

I have a drupal 7 site. The site is really big and has few content types, and a lot of content. I use boost and Cache expiration to improve performance. I will be happy to get some information ...
1
vote
0answers
303 views

db_merge : Making a query slow

I am using userpoints module to provide points for different actions that they do on my site. mysql> desc userpoints; +-------------+---------+------+-----+---------+----------------+ | Field ...