Questions tagged [performance]
Use it for questions about Drupal's performance, how to measure, and improve it.
517
questions
0
votes
1
answer
603
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
1
answer
66
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
1
answer
79
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
0
answers
355
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 ...
8
votes
3
answers
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
2
answers
83
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
1
answer
248
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
1
answer
105
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
3
answers
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
1
answer
67
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
1
answer
2k
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
3
answers
985
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
1
answer
76
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
2
answers
742
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
1
answer
77
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
2
answers
55
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
3
answers
13k
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
1
answer
533
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
2
answers
558
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
1
answer
299
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
0
answers
325
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 ...
2
votes
0
answers
2k
views
Low first time to byte for my Drupal 7
For the last months (without any significant change except modules and drupal core upgrades) I've been noticing that the First time to byte decreased from a not bad value (less than 300ms) to more ...
0
votes
1
answer
568
views
DB queries fast, Apache response slow, high PHP CPU
Working with D6, trying to get a page running more efficiently. I made a lot of progress by installing the Cache Backport module and configuring Redis, so devel shows my DB queries are a fraction of ...
2
votes
0
answers
1k
views
recommend drupal form cache disable?
I have static page and form but in each load in devel show a lot of query (select and Insert) in cache_form table I see form_set_cache and operation but I think may disable cache_form completely is a ...
0
votes
2
answers
4k
views
DrupalDatabaseCache is causing performance issues
I have devel query log / page execution time enabled on my site and most of the queries which are slowing down my site are related to DrupalDatebaseCache.
DrupalDatabaseCache::set
Sample Query :
...
0
votes
2
answers
6k
views
Drupal 7 Really Slow on admin pages
I have a Drupal 7 installation and several admin pages are incredibly slow and time out after 30 seconds. I've tried several things without success:
APC is enabled
innodb_buffer_pool_size is set to ...
5
votes
2
answers
2k
views
Is there a way to force some block caching despite system block caching option is disabled?
In /admin/config/development/performance settings page, my "cache blocks" options is disabled due to "Block caching is inactive because you have enabled modules defining content access restrictions."
...
1
vote
0
answers
262
views
Drupal 7 - How do I cache / gzip a webform page?
I have my frontpage as a webform and want to know how I can provide compression to this page as drupal does not cache/gzip a webform page due to the forms. What are some possible solutions to this?
8
votes
1
answer
7k
views
How and where would I be able to enable/disable gzip compression? [closed]
In Drupal 7 where would I be able to enable/disable gzip compression? Is there a module for this functionality?
19
votes
3
answers
26k
views
How to get rid of Deadlocks and Lock time out type issues?
I read multiple blogs, tried to google, it but didn't find any satisfaction from any solution. I have the following issues :
PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found ...
4
votes
4
answers
3k
views
Delete all users and there content apart from user 1
I have been asked to help look after a Drupal site that was created by a third party. This site has lots of users (~13,000) and for each user lots of items of content was created.
I want to clean the ...
0
votes
1
answer
30
views
Which modules help with loading of large images in a nice transition?
Currently I am using the single_page module that does the anchor page sliding thing on the page, but currently I'm loading big images onto this single page. Which modules or recommendations on how to ...
31
votes
2
answers
36k
views
Eliminate render-blocking JavaScript and CSS in above-the-fold content
I am building a Drupal 7 site. These are some of the modules I use: Adaptivetheme (theme), Views and Content Panes, Panels, Mini panels, Panels everywhere, Page manager, Superfish for menus, Addthis, ...
3
votes
2
answers
1k
views
Minimizing the time taken for entity_load while using for apachesolr indexing
I am working on a site with a specific node type that has close to 50 fields, most of which are taxonomy term references, a couple of node references and a few conventional text and integer values. ...
7
votes
1
answer
2k
views
How to speed up node add form with around 50 fields?
I had a node add form with around 50 fields, mostly text with 1 field collection (with another 5 fields) and a few entity and term references.
The page is taking around 30 seconds to load making it ...
0
votes
1
answer
882
views
How to know what is slowing down my drupal site
My site is still in early stages of development and the page load is getting slower day by day. Even though i really think twice before installing a module for something and try to get it done with ...
3
votes
1
answer
2k
views
How to load the images in views using ajax?
There is a website with rich content (high resolution images).
I wish to load that view block contents (3 view blocks), but not the image, during the page load. Image should load in AJAX after the ...
0
votes
1
answer
56
views
How to desactivate jquery_update logic for the homepage
The objective of this is to remove all legacy javascript files from the homepage except for the new javascript files I specifically want to load.
Here is how I remove all the Javascript files I don't ...
-1
votes
1
answer
1k
views
How to limit the number of authenticated users logged in simultaneously?
I'm building a project for a client who asked for:
Limit the number of authenticated users logged in simultaneously.
For example the site won't allow more than 20 users to be logged in
at the same ...
1
vote
1
answer
92
views
Custom Top Admin Menu: Intergrating Permissions
Looking into build a top bar to be used for clients for quick access to edit/add pages. Big question I have is, how do you hook this into the Permissions module in core? Say if I want to allow another ...
4
votes
1
answer
907
views
What does General Cache Wipe mean
The definition of CACHE_TEMPORARY used in cache_set reads as follows.
CACHE_TEMPORARY: Indicates that the item should be removed at the next
general cache wipe.
I am just curious as to what ...
0
votes
1
answer
2k
views
Long wait time for website and taking too much CPU+Memory [closed]
My drupal site is taking too long wait time, and it uses CPU + memory. My server setting is
16GB RAM, 8 processors. So it is good.
I am using Commerce Kickstart distribution have enabled 180 ...
3
votes
1
answer
2k
views
Whenever I edit/update a node all the page caches for anonymous user are lost
I have the following cache settings on the performance page
I have visited a few pages as anonymous user and made sure that they are being cached. Now I log in as admin in a different browser and ...
0
votes
1
answer
180
views
Performance - custom php block or views to use in panels
I use panels to display block with node title on a custom position. My question is about performance - what is faster - to use following php code inside block
<?php
$node = menu_get_object(); ...
0
votes
1
answer
129
views
Why is search disabled by default for anonymous users?
I noticed that search is only permitted to logged in users on drupal.org and I'm wondering why. Apparently it's also disabled for anonymous by default in Drupal 7, and I see people discussing how to ...
2
votes
1
answer
2k
views
Drupal files on NFS, performance degredation
Many people use NFS to keep the sites/default/files directory outside of the normal webroot of a Drupal install.
However, I'm running the entire Drupal install over NFS.
When the site has not been ...
0
votes
1
answer
119
views
Is there any performance implications in calling a view programmatically and set necessary filters?
I have a view that list some items depending on the current node loaded. I also want to add few exposed filters to the view. The exposed filters cannot be shown to users directly. I want to provide a ...
1
vote
2
answers
952
views
Query takes nearly 6 secs. Is it ok? [closed]
I switched on Devel logging on site (shop on Drupal Commerce), went to Shop->Orders and saw that
3818.231 views_plugin_query_default::execute P A E
SELECT commerce_order.order_id AS order_id, ...
0
votes
1
answer
80
views
How to properly works in Chrome as a Drupal administrator? [closed]
Not sure if is there I can do from the Drupal side, then I'll close this question if not suitable here...
I use Chrome to admin my drupal sites and I noticed that after some hours (let's say 3 or 4 ...
0
votes
1
answer
734
views
My hosting provider ask me to use xCache instead of the built in Drupal cache system
Just that I have a problem with a website (Drupal 7), the server falls down every night.
My hosting provider ask me use xCache instead of built in Drupal cache system.
Does it make any sense?