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
649 views

Slow wp-cron HTTP requests

My website is very, very slow. Using Query Monitor, I diagnosed slow HTTP Requests, taking up to 40 seconds (usually 12 secs). These HTTP Requests are POSTs to http://website.com/wp-cron.php?...
0
votes
0answers
470 views

Performance of wp_get_attachment_image_srcset() and wp_get_attachment_image_url()

I like to know if this to functions being used on pageload could cause a performance problems and if it would make sense to cache the results in a transients. wp_get_attachment_image_url() and ...
0
votes
1answer
118 views

Create a custom and powerful search form

I'm a junior developer who is currently developing a Wordpress site that requires a hand-made, powerful search form. I have a bunch of parent SIMPLE (normal, not custom) categories (Customers, ...
0
votes
1answer
378 views

Mysql Queries per Visit - Crazy High

I have been wrestling with site speed for a while. I have a lot of plugins on a domain-mapped multisite network. One of the bigger offenders is Formidable Pro, which eats up a lot of resources. I ...
0
votes
1answer
375 views

Loading css files conditionally useful?

I've read some articles, which states that it would be useful to load javascript files conditionally, based on the fact if they are needed on a site or not. Therefore I start to exclude custom js from ...
0
votes
1answer
112 views

Wordpress Dashboard visible but site is not after migration

I recently moved my WordPress site from Bluehost to Godaddy using Duplicator. I can access the site just fine if I am going to /wp-login or if I am in the dashboard. When I go to visit the website it ...
0
votes
1answer
20 views

Create page in templates for pages or the pages manager?

In terms of slowness and loading which differences noted in the pages created as a template and created by adminisrtador? Example template page: <?php /** Template Name: My Page name */ ........
0
votes
0answers
150 views

Website goes slow down after importing long database

I am working on a site which have 2 lakhs post and 15 categories. I have home page with 3 post of each category on home page. And after that its goes down while run home page and shows page not found. ...
0
votes
1answer
70 views

API calls on plugin activation or init?

When I activate my plugin, I need to call an API, to get some items, lets say fruits, flowers and animals. I need to create taxonomy terms out of these items. Then I need to loop over these items and ...
0
votes
1answer
41 views

Why WordPress takes time to make request to save post?

I have around 50 post meta fields, each meta field have different values. I have noticed when saving posts, it takes around 3 to 4 seconds to make request. Why?
0
votes
1answer
182 views

Category For Pages In WordPress

I need to categorize search result of WordPress, I have done that through adding categories to posts and custom post types. Now, only pages are listing without any category, I think it is possible to ...
0
votes
0answers
105 views

What's the best way to dequeue / remove uncooperative scripts and styles?

So we've got wp_dequeue_script, wp_dequeue_style as well as wp_deregister_styleand wp_dequeue_script... These work well, as long as they've been called correctly in the first place. Some plugins, ...
0
votes
1answer
128 views

Is WP-Cron / wp_schedule_event suitable for time-consuming actions?

I want to schedule an action to be run daily. This action can take up to a few seconds. Question is: is WP-Cron the suitable mechanism (compared to, say, classic Unix cron) for such action? The ...
0
votes
1answer
44 views

String Replace Caching & Chance of Collisions

I am noticing that for various reasons I am using lots of string replacements in Wordpress and I am concerned about this impact on performance once it goes live. I am not advanced in caching but it ...
0
votes
0answers
120 views

Is it possible to outsource wp-admin to another server?

This question might be very crazy and stupid, but I wonder if there is any chance that I could host the whole wordpress backend on another server, in order to minimize server load. For this, I guess, ...
0
votes
0answers
298 views

Perfmon performance counters on WAMP

I work on an WordPress site for a business. I'm using WAMP: Windows Server 2008 R2 Standard, sp 1, 64-bit. Apache version 2.4 MySql version 5.6.9 PHP version 5.4.13 8 GB RAM Intel Xeon CPU 2.93GHz (4 ...
0
votes
1answer
559 views

wp_get_attachment_image_src() regenerate custom size images everytime

i try to make simple gallery from post's attachment images with custom sizes. i wrote simple loop: $original = array(); $gallery = array(); $gallery_min = array(); $imgs_args = array( '...
0
votes
1answer
47 views

Using static home page and wordpress only as a blog

Would using static home page and wordpress only as a blog increase page speed instead of using a Wordpress template to run the whole show? Would I achieve the same effect using cache tools?
0
votes
2answers
286 views

Optimising amount of calls to custom fields

I have this code fragment in my codebase: foreach($this->adverisers as $adveriser) { $this->data[$adveriser->name]['image'] = bfi_thumb(get_post_meta($adveriser->ID, ...
0
votes
1answer
509 views

How bad is flush_rules() on init hook?

According to the Codex: [...] This function can be extremely costly in terms of performance. It should be used as sparingly as possible - such as during activation or deactivation of plugins or ...
0
votes
0answers
799 views

Ajax take too long to return code

I'm bulding a new web site and I need use ajax to search and return some pages/post. I don't know the problem but my ajax need 2s or 3s to return the HTML structure with the page and some photos (this ...
0
votes
1answer
91 views

Debugging WordPress

Looking for advice on debugging sql queries. I find that plugins and themes are causing heavy queries and slowing performance. Any easy ways for doing this? Tools? Shortcuts? Thanks! Daniel
0
votes
0answers
5k views

Speeding up admin-ajax.php

I'm currently playing around with AJAX forms, but I've noticed that admin-ajax.php is quite slow. If I simply return the word 'test', it takes around 1400ms. I'm assuming it's because it's loading ...
0
votes
0answers
115 views

Dashboard doesn't work propertly

I have strange issue with Wordpress on my server. After installing WP, some sites of admin panel require over 3-4 minutes to load. There are these "some" : Plugins Themes Dashoboard main site ...
0
votes
0answers
152 views

child theme performance / avoid import and minify JS files

I am working on a child theme and I have been having troubles with the performance. The parent theme is not very good and I cannot see a way to improve the speed of the child theme at least a little ...
0
votes
0answers
43 views

Page will only display first 6 videos

I'm creating a page in WordPress using a custom theme. I have a page that I need to put 8 (maybe more) videos on. With 6 video players on the page it loads in less than a second, but as soon as I put ...
0
votes
1answer
302 views

Is saving multiple options or saving multiple items in one option better?

I have added multiple fields to a custom taxonomy. I followed Pippin's tutorial. This method creates a single option per taxonomy item. The multiple fields are saved in taxonomy_id. I was not sure ...
0
votes
0answers
982 views

Fatal error: Allowed memory size of bytes exhausted (tried to allocate 36 bytes)

I' fetching some information from my website e.g category_name, category_id etc. with wordpress codex and encode them with json. I'm using them in my android application, but today, suddenly, it gave ...
0
votes
1answer
78 views

Custom Post Type vs Shortcode: Which one is more performant?

I am designing a Wordpress blog where I will have two types of posts: a. Normal posts; regular posts with a number of text paragraphs b. Posts with table content, where the table structure will be ...
0
votes
1answer
537 views

Why is the server response time slowing my site down? [closed]

My site is www.phoenixwave.com When I use Pingdom speed test and Google's speed test both give me the conclusion that my server response time is ridiculously slow...I'm using a Rackspace server. I'm ...
0
votes
0answers
277 views

Very Slow loading. Plugins report provided by P3 included

My problem perhaps has to be with the plugin I'm using. However I wanted to be sure if something else could be causing the problem. I'm retrieving two feeds using WP RSS multi-importer plugin, but ...
0
votes
0answers
67 views

Developing a plugin, ran it through P3 Profiler, shows up slow, but I don't know why

I am having an issue with my plugin I'm developing. After using the GoDaddy P3 Plugin profiler, it shows that is taking up a large amount of runtime, but the plugin itself is very minimal. It just ...
0
votes
0answers
342 views

Post OrderBy slow performance

I have been struggling for quite a while now with this, to put in simple term here is what i do. I do an OrderBy with wp_postmeta information This allow me to give an additional date to play with. ...
0
votes
0answers
711 views

High I/O load when hosting lots of wordpress sites

I have a vps that hosts about 30 separate wordpress sites and I notice it that does a lot disk writes. In total it does 5mb/sec disk write. Is there anyway to decrease the disk write? cause each time ...
0
votes
0answers
56 views

Control load order?

I have a full-width slider on my wp homepage. It's always last to load and everything else gets shoved around when it appears. Any way to hold the whole page from loading until it's ready, or force ...
0
votes
2answers
56 views

Debug Performance Issues

I've had a WordPress blog I've hosted on Dream Host for several years now. Recently (the past year) my site is going down often. Via Dream Host I found that I'm using up my CPU limit and they are ...
0
votes
0answers
44 views

admin.php taking 14 seconds

This is a clean install but it has a (relatively) huge database of dummy posts/comments/etc. But even on single-post loads it still takes just as much. Narrowing further down menu.php takes 8 seconds ...
0
votes
1answer
112 views

Get multiple posts with some custom fields efficient

Is there an efficient way to get some posts with (some of) their custom fields in one go? I have a custom post with some custom fields and would like to create an overview page where I display all ...
0
votes
1answer
105 views

How to handle high load of traffic of my server

Soon, my website will have much traffic due to an event, is there anyway or any service that will help me to handle all the traffic without my website goes down? I'm using WordPress running on Nginx ...
0
votes
0answers
559 views

Diagnosing a connection reset problem

A couple of weeks ago I purchased a theme from ThemeFuse and installed it in a new WordPress installation. From there, I've been having random errors when accessing or browsing the site. Some requests ...
0
votes
2answers
248 views

Most efficient way of deleting post

I have a cron job set to remove a (sometimes large) number of posts from my database. Of course, I also need to remove all associated data such as custom fields. This is the function I'm currently ...
0
votes
1answer
2k views

Styles are not loading when changing permalink to %postname%?

Fist I was using default option of permalink and everything was fine (speed is ok, my own created theme is working fine) but now I change default structure to post name structure of permalink now I am ...
0
votes
1answer
173 views

Performance and styles not working fine after changing permalink structure

Fist I was using default option of permalink and everything was fine (speed is ok, my own created theme is working fine) but now I change default structure to post name structure of permalink now I am ...
0
votes
0answers
35 views

Performance and styles problem after changing permalink structure [duplicate]

Possible Duplicate: Performance and styles not working fine after changing permalink structure Fist I was using default option of permalink and everything was fine (speed is ok, my own created ...
0
votes
1answer
267 views

Ways of dealing with nested arrays within option

I stumbled upon one problem regarding too complicated(at least in my point of view) data structures stored in option field. Right now I have an array of collections and within each other there is ...
0
votes
1answer
4k views

Bluehost WebHost and performance problems with W3TC [closed]

I'm currently arguing with Bluehost over slow server times and they pointed to a report at gtmetrix.com in which I found inefficient CSS selectors. There were 55 very inefficient CSS selectors from ...
0
votes
1answer
2k views

How to preload the entire site with javascript?

I don't know if I'm in the right place because is not strictly for Wordpress, I think someone can get some benifit of this question without using Wordpress but in this case I'm using it. So, I'm ...
0
votes
1answer
19 views

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

How we can reduce wordpress page loading time ?
0
votes
1answer
135 views

How to Aggregate, minify and compress (AMC) static and dynamic resources?

How to minify-compress-aggregate (AMC) static and dynamic resources (especially CSS&Js) in Wordpress? I need a way to do the three in Wordpress. I don't need a caching mechanism, I need only AMC ...
0
votes
1answer
82 views

Will too many overridden css rules lead to performance issues

I am customizing the avada theme for my needs. Since the theme gives many options to style the fronted via its admin panel, I have to write many lines of simple css code for custom elements etc. Based ...

1
7 8 9
10
11