Skip to main content

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

Why is my homepage fast and every other pages are very slow.? Any help? [closed]

jsamindustry.com.ng Have done everything to make the website fast though I don't really know much about coding. But I notice all the cached plugin have used seems to only optimize only my homepage and ...
J Sam industry's user avatar
0 votes
0 answers
15 views

CF7 for radio buttons only, ok?

I want to use Contact Form 7 only to use the radio buttons, so this form doesn't need to be send. That mean no submit button. There is a javascript to display content when a radio button is selected. ...
Carlos's user avatar
  • 101
0 votes
1 answer
32 views

Initial Connection takes 42 seconds

Started a new job and was handed the website. It's WordPress and supervisor said images were slowing the site down. They were needlessly large but I quickly realised that wasn't the issue (though I ...
Isaac James's user avatar
0 votes
2 answers
21 views

When to store store plugin options as a single database record?

I'm building the analytics script plugin which offers customizations on a settings page. There will be around 20 options in total. Does it affect the performance negatively if I manage these 20 ...
Ostap Brehin's user avatar
0 votes
0 answers
14 views

Converting longtext to mediumtext in Wordpress wp_postmeta table

following recommendations to increase performance of my wp_postmeta table, I converted my meta_type field type to varchar 191, hoping this would reduce also the table size (which did not happen). I ...
perlfan's user avatar
0 votes
1 answer
54 views

Proper way to load styles using a child theme

I decided to start using Elementor Hello theme for building my websites. In the past, I always edited style, templates and other theme files directly from the original theme directory, but I decided ...
Martin Peternel's user avatar
1 vote
0 answers
29 views

Will php code slow down site?

I have a code, that counts total posts (in certain categories); <?php $term_slugs = [ 'cat', 'bird', 'chinchilla','dog','ferret','hamster','horse','lizard','mouse','pig','poultry','rabbit','snake','...
Adam Larsson's user avatar
0 votes
0 answers
44 views

Wordpress Website is very slow after migration

I am using an custom domain to produce a website for my customers. When the draft is finished and the customer happy, I transfer the website to the customers new domain. For this process I was using a ...
Puzzle's user avatar
  • 1
0 votes
1 answer
16 views

Redirections all subcategory to a new page

I would like to redirect all my subcategory toa ne page, for example Electronics category redirected to the same page then Computers subcategory redirected to the Computers page then > component ...
Sky international GI trade's user avatar
0 votes
0 answers
17 views

Wordpress site is not loading properly ( showing a min-page)

I hope you are doing well, yesterday I was adding new products, deleting some of the categories, and uploading photos, and then I checked my changes but suddenly the website was not loading properly ...
Tony Dughem's user avatar
1 vote
0 answers
319 views

"Object-cache.php" disables wp_cron and even disables my entire site, and keeps reappearing by itself again after I delete it

I'm having a truly maddening issue. It may involve plugins (or it may not, I don't know) but I believe it is sufficiently technical to be allowed here. A few weeks ago, I needed to revert to a backup, ...
John Smith's user avatar
0 votes
0 answers
57 views

How to correctly cleaning wordpress options table

I want to clean my WordPress site options table using SQL. I'd installed the plugin Performance Lab v2.7.0 by WordPress Performance Team which said that my autoloaded options are making my site slow (...
Nehemoth's user avatar
0 votes
1 answer
98 views

Identifying Issues in Pagespeed Insights: Server Response Time and Long Main Thread Tasks

I recently ran a Pagespeed Insights analysis for my WordPress site and encountered two prominent issues that I would like to address: server response time and long main thread tasks. Server Response ...
Agustí Pardo's user avatar
0 votes
1 answer
641 views

In WordPress how do you remove render-blocking CSS manually without a plugin?

I want to remove the render-blocking CSS that PageSpeed Insight tells me about. Plugins don't seem to work. To do it manually I gathered that you should add some code to the "functions.php" ...
Zaza Zaza's user avatar
0 votes
0 answers
88 views

Very long initial loading (20sec)

I am witnessing an odd behavior on a website I am currently developing – and I don't really know how/ where to look for the cause of that problem. The problem only occurs after I haven't opened the ...
tillinberlin's user avatar
0 votes
1 answer
42 views

This SQL request call all time and overload my server : SELECT meta_value FROM wp_sitemeta WHERE meta_key = 'wp_installer_network' AND site_id = 1

I have this SQL request who is call every time on my website and take between 1 and 2 secondes to execute so my serveur break down. What is it and how delete it ? SELECT meta_value FROM wp_sitemeta ...
user1795017's user avatar
0 votes
1 answer
17 views

Could a very long article slow down all website and wpadmin?

There is this article in the wordpress website that counts: words: 8207 characters: 56302 estimated reading time: 43m 20 images and 183 paragraphs and 201 blocks. Could affect loading time of every ...
axel's user avatar
  • 161
4 votes
2 answers
49 views

Degraded WordPress admin dashboard performance [closed]

My daughter's school asked me to take a look into "why their site is suddenly very slow". It runs on one.com/Wordpress, of which I know almost nothing, my own sites are VPS/Django-based. But ...
texnic's user avatar
  • 141
0 votes
0 answers
79 views

Can running a WP-Cron to update_post_meta cause performance issues?

I'm counting post views on a custom field inside wp_postmeta, the update happens each time a user interacts with the post. I was reading at this response Will a large postmeta table slow a site down? ...
Michael Rogers's user avatar
0 votes
1 answer
271 views

How to cache WordPress oembed links in the page header?

WordPress places JSON oembed links in the page header, such as in this example: <head> ... <link rel='https://api.w.org/' href='http://example.com/wp-json/' /> <link rel="alternate&...
Blake Patterson's user avatar
1 vote
1 answer
435 views

Is option_active_plugins actually doing anything useful?

I’m training to speed-up our wp-json responses, which are now spending approx 70% just on WordPress initialization. I searched the Internet and from the answers I found the Must use plugins with ...
tole's user avatar
  • 131
0 votes
2 answers
33 views

Regarding to the performances, should I check if a post has a thumbnail before or after checking if is the front page (or single page, etc.)?

Regarding to the performances, and the performances only (and not from the point of view of the readability of the code), is it a best practice to check if the post has a thumbnail before to check if ...
PhpDoe's user avatar
  • 199
0 votes
0 answers
81 views

How to make the Panel // WP-Admin lighter via Mobile

By accessing the WordPress Admin Panel. via Cell/Mobile the loading is too slow. And the layout is not responsive. In Chrome console I get the following errors [Violation] 'DOMContentLoaded' handler ...
PauloBoaventura's user avatar
1 vote
0 answers
17 views

How to debug periodic performance issue

I have an periodic performance issue on my site. Seems like every exactly 10 secods, something clogs the CPU up to 100%. I can clearly see it's something from the site itself rather than the ...
Yochai Timmer's user avatar
0 votes
0 answers
50 views

How do I remove lazyloading on the mh-spotlight-widget

What is the easiest way to disable native lazy load without a plugin for a specific widget in WordPress? I can't find anything at all about this question that I could use for functions.php? // XX = ...
Aprilia Parrino's user avatar
1 vote
0 answers
41 views

Horrendously slow admin and pretty slow sites [closed]

We host dozens of plain PHP sites that respond within milliseconds. The average page load time is around 10 ms. One of our users installed 2x WP 5.5 sites and gradually upgraded them to 6.0. Their ...
Minasian's user avatar
4 votes
1 answer
779 views

External HTTP API calls slowing down Wordpress admin [closed]

By using Query Monitor I'm finding that virtually every page load within Wordpress admin results in 15-25 server-side HTTP API calls being made. Most take less than 0.1s, but there's 5 or more that ...
Baraka's user avatar
  • 141
2 votes
1 answer
361 views

Speed up / Optimize Admin Edit Post Page on Large Websites (50-150k posts, 50 custom fields per post)

I'm working with a set of large Wordpress installs with 50-150k posts, each with 40-50 custom fields. The installs are very basic, with limited plugins (less than 5), and a default Wordpress theme (i....
dfcode3's user avatar
  • 711
3 votes
1 answer
455 views

Fastest way of counting posts of a custom post type in a specific taxonomy term?

I know this kind of question is legion but I have read through all related topics and I can't find a satisfying solution. What I want to achieve is simple: on my taxonomy (author) term archive page I ...
Julien G's user avatar
1 vote
1 answer
37 views

Looking for most performant way to execute several similar WP queries within shortcodes

I have a very data-driven website where each page contains several (5-10) shortcodes, each of which execute WP queries and display the results. The queries are usually quite similar - I've added 3 ...
Alex's user avatar
  • 21
0 votes
1 answer
19 views

Disabling ajax code that does a POST request that ends in a 400 error code

I have a javascript snippet that sends a POST request, but the backend no longer serves that request. Would removing that code significantly improve the website performance? The problem is that the ...
Sayaman's user avatar
  • 135
0 votes
1 answer
265 views

Does fixing PHP notices improves website performance?

$geolocation = esc_sql($_COOKIE['geolocation']); I have this, and using Query Monitor, I've been able to find out that this notice is being thrown out 490 times on the home page alone, so I am ...
Sayaman's user avatar
  • 135
0 votes
1 answer
783 views

Which is faster wpdb & get_row or wp_query & ge_post_meta?

Im planning to make a private api and i was wondering which one should i use go for my datas. wpdb & get_row with my custom sql regular wp_query & get_post_meta() Im wondering if it's better ...
Amenadiel's user avatar
  • 125
0 votes
1 answer
292 views

(Wordpress 5.8.3) Function.php or a plugin for better performance? [duplicate]

I'm working on an e-commerce site and a lot of customization needs arise. There are many codes in the child theme. Hundreds of lines... I always have this question in my mind: Is it better to write a ...
user avatar
0 votes
0 answers
28 views

How do you make a site load faster when offloading is not an option?

I have a website where I can't offload it any more, and it still loads some pages slow. Those pages are ones that can't be cached, like the cart or the checkout (Woocommerce). I have tried 5 different ...
Konstantinos Sakkas's user avatar
0 votes
1 answer
402 views

Wordpress Admin extremely slow when other admin logged in

The sites has multiple authors/admins, who may sometimes edit/publish posts at the same time. Whenever more than one user is author/administrator is editing/publishing another post, the WP Admin ...
Ed Shway's user avatar
  • 101
0 votes
1 answer
121 views

Pass debug_backtrace() in Wordpress filter

As you know, debug_backtrace() function has a large output. I need to pass it in my filter. $meta = apply_filters( 'filtername' , $meta , debug_backtrace() ); Does this have a big impact on site ...
ma ja's user avatar
  • 125
0 votes
1 answer
351 views

Puzzled at HTTP/2 301 response header

I am running curl -I https://padelove.gr/cart with the https:// part prepended explicitly, and I am noticing that the response header is about an HTTP/2 301 redirect on the very same URL. Shouldn't ...
Konstantinos Sakkas's user avatar
0 votes
1 answer
213 views

"Disable" specific plugins on certain pages

I want to disable specific plugins on specific frontpages, but not "disable" them in the backend, i.e. really disable them in the DB. Just NOT load them, as if they weren't installed. Did ...
tim's user avatar
  • 164
2 votes
2 answers
181 views

Changing BIGINT to INT

We have a WP page running with a Buddypress network, which is highly dynamic. We are trying to identify every possible opportunity to reduce load and storage - and found that quite some tables use ...
tim's user avatar
  • 164
-1 votes
1 answer
87 views

Is there a way to pass google webmaster CLS on WordPress website?

I have developed WP theme for 3 webisites. Both are using pure WP codex code. No frameworks, nothing. The only thing I use is WP bakery PB plugin. But still it is not passing the CLS. I am switching ...
K H's user avatar
  • 51
3 votes
1 answer
5k views

Disable lazy loading on specific images

Wordpress adds lazy loading on all images. Lighthouse recommends disabling lazy loading on images in above the folder. I would like to figure out how to disable it only on images that I call with ...
Vinz Clortho's user avatar
1 vote
1 answer
164 views

Does using WP-cron make the site slower for the user?

Forgive my "beginnerness" in this matter but I have 2 options to trigger a heavy task (massive update on users' properties to solve an issue between 2 plugins that weren't meant to cooperate)...
Iago's user avatar
  • 11
1 vote
1 answer
421 views

WP Optimization: Removing Orphaned wp_options (especially the autoload ones)

Is there no mechanism which purges old options from the DB? I tried a few plugins in the past and I found out that there are a few pretty long option strings which are set to autoload but IMHO not ...
tim's user avatar
  • 164
0 votes
0 answers
16 views

Is there any difference between widgets (used in order to manage menus) and register_nav_menus() in terms of performance?

I plan to add in the footer of my website 4 menu areas (such as "About us", "Services", etc.), each area with 3 or 4 links. In terms of performances, should I use widget ...
PhpDoe's user avatar
  • 199
1 vote
0 answers
1k views

How to preload images through Code Snippets wp_head for specific pages?

Circumstances: Website Structure My Wordpress website is used as presentation and portfolio for my graphic design services. Visual impact is important for me, so most of my pages contain big ...
Ernest's user avatar
  • 53
2 votes
1 answer
395 views

Multisite with 220+ sites painfully slow

We’re having issues with the site being painfully slow. It can take anywhere from 6 second to 20 seconds to login. The odd thing is that this only seems to happen with the Super User account that has ...
TAL9000's user avatar
  • 21
1 vote
0 answers
67 views

Control panel loads slowly due to 2 slow queries on comment table

Our WP site’s control panel loads very slowly. Analyzing this with the Query Monitor plugin, I see that it is slowed down by two queries, both on the comment table. First one: SELECT comment_approved, ...
dsaada's user avatar
  • 11
0 votes
1 answer
176 views

Is there anyway to split posts to different databases?

We have a huge database (4GB) and mostly are wp_posts wondering if is that possible to like, split it to two different databases to have better performance? for example, split post types with PRODUCT ...
Amino's user avatar
  • 323
1 vote
2 answers
898 views

is there a way to preload specific images for desktop users only? (excluding mobile users)

My website has a few .PNG images animated at the very start of my Contact page. Those images are a bit heavy (because they have transparent background), so the animation starts with some of them ...
Ernest's user avatar
  • 53

1
2 3 4 5
12