Questions tagged [performance]

Writing efficient code leads to better performance of a site, which is usually measured in the speed with which pages are served.

Filter by
Sorted by
Tagged with
0
votes
1answer
19 views

Should I use docker in wordpress production?

My question is, is it a good idea to use docker for a big woocommerce website (more than 100k products)? Or will this incur a noticable performance cost compared to running wordpress straight on the ...
-1
votes
0answers
14 views

Website taking forever to load but CPU, RAM and I/O are ok

So, I have a Wordpress droplet in Digitalocean with 4 shared vcpu and 8gb of ram. Everything was working really fine until I get about 400 simultaneous access in the website, then it gets REALLY SLOW. ...
0
votes
1answer
24 views

Wordpress digitalocean taking forever to load

So, I have a Wordpress droplet in Digitalocean with 4 shared vcpu and 8gb of ram. Everything was working really fine until I get about 400 simultaneous access in the website, then it gets REALLY SLOW. ...
0
votes
0answers
16 views

Wordpress is very slow, even it's not opening sometimes

I have migrated a WordPress site from the old server to my new server now it's very slow and even some times it's not opening at all. I'm not getting any error message just a blank page I'm getting. ...
0
votes
1answer
21 views

How to check performance of WordPress dashboard

We run a Woocommerce shop. The frontend is pretty ok, but the dashboard is really slow. The database is quite large (>2 GB) containing around 140.000 users and more than 50.0000 orders. I checked ...
0
votes
1answer
17 views

Better use two dedicated methods hooked with add_action() to different actions, or can it be twice the same method?

This is merely a question about what's better in terms on performance, and general (WordPress) PHP Development. I deregister and dequeue a fewe scripts (and styles) from a WordPress website, in a ...
0
votes
0answers
15 views

Job and Employee Performance Tracking with Product Safety

We are looking to connect a WordPress site to our database where an employee can scan an order barcode with an RFID scanner that was generated from our database and have the WordPress site query the ...
0
votes
1answer
15 views

Write/saved logs in Wordpress

I´m doing a plugin which includes a query to import data from external API into custom post types/taxonomies/medias etc... The query can be really heavy. I had to make logs to know exactly what ...
-1
votes
1answer
23 views

What is the first action or filter executed by wordpress?

To mesure performance of a wordpress website i need what is the first filter or action executed by wordpress ? it seems that index.php is the input file of server, there is a way to add a global time ...
0
votes
1answer
24 views

Super slow plugin page (lots of error 500)

Since a few days, After I migrated my wordpress site from a host to another, my plugins page is super slow ! When I click to see all plugins, or to install a plugin, I get one time out of two a error ...
0
votes
1answer
23 views

What structure and database storage method should I use for temporary storage that may be written concurrently?

In working with a third-party API, I need to store some state information to help track a process. I'm wondering where and how I should store it. Specifically, I have a multi-page Gravity Form, and ...
0
votes
0answers
18 views

Favicon is loading very late

I have 2-3 WordPress sites all have same problem when it comes to website speed. Everything is loading within 2 seconds except Favcion, how can i load the favicon faster?
0
votes
0answers
9 views

Compiling PHP files?

I am developing a custom theme for our site and I tried running the following just above the closing tag in footer.php: $included = get_included_files(); echo "<pre>";print_r($included);echo "&...
0
votes
1answer
15 views

How to simulate web traffic to test performance of a website

I have to test a WordPress site performance on an Ubuntu server running on apache2 and mysql, what the best way to simulate web traffic to see how the theme, plugins, database, cpu, and ram is ...
0
votes
0answers
8 views

Unidentified plnTokenForOrder_nnnn option in wp_options

I have hundreds of plnTokenForOrder_[0-9](4) with autoload in my wp_options table and I really don't know where it comes from. Could it be linked to Stripe or Paypal gateway? How can I be sure it's ...
0
votes
0answers
8 views

How to handle multiple visitors load to avoid server crashing?

E-teaching my undergrads (covid-19...), made a quiz for them to take on a LearnPress installation and gave them an exact time to be online. When the time came, site crashed instantly (~75 people, ...
0
votes
1answer
13 views

If I disable screen options, does WP still try to update post meta?

I am trying to speed up my WP admin post edit page. (/wp-admin/post.php?post=x&action=edit) This particular site has WooCommerce + other plugins that generate a lot of post meta installed. Most ...
2
votes
1answer
53 views

Is it ok to call get_option without hooks?

Many plugins call get_option() to fetch their settings right in the main plugin file, without using any action hook. Is this the way it is meant to be used? I am asking because it seems to me that ...
1
vote
0answers
22 views

Is it a good idea to improve meta query performance by adding tax query?

I'm aware that using taxonomies over metadata is preferred when it comes to posts grouping. In simple words this and this are saying "use meta for unique data and taxonomy for repeating data(the one ...
1
vote
0answers
19 views

Wordpress Script stops suddenly

I have programmed a php site which loops through posts (600 counting) and creates upon this new custom post entries. This script suddenly stops after 20-30 seconds without error or failure message (...
0
votes
1answer
37 views

Website slow : my fault or the host?

My website is really slow, and I have no idea why : I read some articles about how to save time and so on but it still takes up to 7s to load a page. Here is the report : https://tools.pingdom.com/#...
0
votes
0answers
10 views

I migrated from Blogger to WordPress. Should I hotlink images from Blogger to the new WP site?

I have recently migrated from Blogger to WordPress. I was wondering whether instead of uploading existing images to the new WordPress site I should hotlink them from Blogger instead. I do not worry ...
0
votes
0answers
24 views

Faster Emails with WP Mail

I'm using wp_mail() to send transactional emails on my website, but it takes very long to process the email. What can I do to speed up this process?
0
votes
1answer
21 views

How we can reduce wordpress page loading time? [closed]

How we can reduce wordpress page loading time ?
0
votes
0answers
26 views

Best way of coding a theme with multiple languages in Wordpress

When there are multiple languages on a website, what is the most efficient way (in terms of performance and page load time) of building a theme, between these two solutions : 1/ Using separate files ...
0
votes
0answers
32 views

Wordpress Real Cron Change timeout issue

Im running a large script which takes approx 2-3 mins to complete. The script loops through our woocommerce products and updates them where necessary. The problem I'm having is when the CRON job is ...
-1
votes
1answer
24 views

Wordpress Admin Page Slow. Customer Post Type is the slowest

The admin page loads slowly ever since adding Custom Post types. I've added them using CPT UI and Custom Fields plugins in Wordpress. Whenever you click on the Custom post type from the sidebar it ...
0
votes
0answers
24 views

audio shortcode and Safari base64 player icons

I'm making a website for a composer. One page contains about 30 audio players within a long list of works. I don't want to use the Gutenberg audio block because I can't customize the appearance of the ...
1
vote
1answer
87 views

How to decrease the number of queries with get_posts and ACF?

In my index.php file, inside the classic WordPress loop, I had to query posts in order to retrieve the ones with a relationship value created with a custom field (managed with ACF plugin). I managed ...
0
votes
0answers
23 views

Is storing in a variable the result of a fonction a most powerful way to code an if structures in WordPress?

In the footer-menus-widgets.php template, from Twenty Twenty theme (by Automatic), we can find a way to code a template and call functions that uses variables to store the result of functions like ...
1
vote
0answers
24 views

page loading time of a cached page

I am trying to find page loading time of a page using following code function loading_time() { echo '<p>Page loading time:'.timer_stop(0, 3).' seconds</p>'; } add_action( 'shutdown',...
0
votes
1answer
21 views

Wordress importing scripts

I am fairly new to Wordpress theme development, and I'm trying to structure my code using the best practices possible In your opinion whats the better option to import javascript files: OPTION 1 &...
0
votes
1answer
34 views

Regular XML-RPC timeouts

I am hoping to get some tips for troubleshooting this annoying timeout issue. Configuration: Windows 2012 R2 with IIS PHP 7.3 MySQL 5.7 Wordpress.org 5.3.2 WP is configured as network with 5 ...
1
vote
1answer
35 views

Page taking time in loading. Also used lazy loading but doesn't work?

There are number of logo images and many are shown under show more button. But all are getting loaded at a time. Due to page speed decreases. I have used lazy load plugin but still is taking time on ...
-1
votes
1answer
414 views

Stop all SQL_CALC_FOUND_ROWS wordpress queries

In phpmyadmin I often see this query that hangs with a status of "sending data": SELECT SQL_CALC_FOUND_ROWS wp2a_posts.ID FROM wp2a_posts WHERE 1=1 AND wp2a_posts.post_author IN (1) AND ...
1
vote
1answer
28 views

Are pages consuming more server resources than posts?

Is there any performance difference between the way wordpress handle pages and posts when i'm querying for them ? In the same way, is there any performance difference between hierarchical custom post ...
0
votes
1answer
27 views

What Is The Best Method/Tool To Investigate WordPress Internal Performance?

I have a very basic WordPress site and, using www.webpagetest.org, I can see that my site takes around 4 seconds before it transfers a single byte. I've already fixed delays associated with https ...
0
votes
2answers
31 views

WordPress Meta description - is it better to use manual configuration?

I was wondering: aside from the fact that plugins are easier to use, wouldn't it be better to configure meta description on a wordpress website manually by code in the header.php or functions.php file ...
0
votes
0answers
14 views

Two CSS files loading extremely slow

My WordPress site was running slow so I did a GTMetrix test on it. I have two files that seem to be the problem. How do I locate these files and tackle the issue ?
0
votes
0answers
7 views

How to manage the strong impact on Performance (serverside and clientside) of 404 Pages: how to solve?

When a non-existing image is asked to the server hosting Wordpress, it returns a standard 404 page which result in: PHP having to render a page which cannot be cached and loads ALL the plugins 152 ...
-1
votes
1answer
27 views

Site too Slow to establish db connection?

After deployment site was too slow on analysis it takes time at db connection side. DB is in remote server. Trying queries without WordPress gives faster response. But WordPress takes around 40 sec ...
0
votes
0answers
9 views

Website Load Time takes forever

Hi weve got two dashboard in wordpress, One is the admin dashboard of the website and the admin dashboard of the client. For example my website name is www.abc.com, inside the admin dashboard theres a ...
-1
votes
1answer
16 views

Site load time increased

My WordPress site(urchd.com) load time increased and sometimes I face error 524 due to some queries execution time exceeds 21 seconds. I already tried contacting my hosting provider they say that you ...
0
votes
2answers
24 views

How fast can I expect WordPress to be on a fresh install locally?

I have installed WordPress on my local developer's machine. This developer's machine is pretty respectable by today's standards (double digits of RAM in GB, and a great processor), and I don't ...
2
votes
1answer
240 views

Is it useful to turn on MySQL query cache for performance

Now the MySQL default query cache is disabled, as I remember long time ago, the hit rate of MySQL is quite high when running WordPress. So I am thinking if enable it now will improve performance, ...
0
votes
0answers
14 views

Which is faster: Loading images from the repo, or loading them using ACF Image Content via Media Library

I have two methods of loading images in my mind right now: 1 - I store an image in a folder within my repo, and load it as a background image, defining it statically in CSS/Inline CSS. 2 - I store ...
0
votes
0answers
15 views

Load time of Meta Box fields too long

I use WordPress and Meta Box plugin in a lot of websites. But I have a problem with one of them, the edit page of one page is too long to load, because I need to use a lot of editors with Meta Box on ...
1
vote
1answer
31 views

Load time cost of using a redirect plugin v direct .htaccess entry

Occasionally, when I inherit a WordPress project developed by someone else, there is a plugin installed to do redirects. On my own projects, I enter all redirects directly into the .htaccess file. ...
0
votes
0answers
54 views

How to fix Specify a Vary: Accept-Encoding header in wordpress website

When i test my website performance, i got notification for Specify a Vary: Accept-Encoding header. So i added code in my ht-access page. But there is no change even i add code also.So what else i can ...
0
votes
1answer
43 views

Wordpress Performance and bulk edits

Should Wordpress slow down and throw 502 and 504 errors , when 5-6 people simultaneously are making bulk edits on the site on different/separate accounts? It's a Woocommerce site with 600 products on ...

1
2 3 4 5
11