The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
44 views

Best Way to get facebook share count and update using wp_schedule_event or any other method

I recently developed a news blog, and my client needs facebook share count. I Successfully able to get the share count and update the custom field using below code.(with the help of cybermeta). What ...
0
votes
0answers
11 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
0answers
15 views

How to setup gzip compression with WordPress and CloudFront [closed]

I've setup my WordPress instance that it uploads images to S3 (thanks to Amazon S3 and CloudFront Plugin). I've also set up a CloudFront distribution so the images are served by CloudFront. When I do ...
0
votes
0answers
34 views

How can I debug the TTFB in WP?

I'm developing a WP theme, based on _s default theme with WP 4.1.1. I keep getting a TTFB(time to first byte) of 22s, consistently both on the front and back of the site, while on localhost. Here's a ...
0
votes
1answer
13 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
0answers
5 views

Setting up a cookieless domain without being able to change the root via cpanel

I have this websites that allows the registered users to upload images, etc. Thus I get tons of image uploaded to my wp-content/uploads. Now I want to create a cookieless domain in order to speed up ...
1
vote
1answer
348 views

Too many posts cause slow load when paginating

I have about 10k posts and I made a page that lists all posts but it is paginated every 54posts. It gives 131 queries in 6.730 seconds which is pretty slow to load. Is there a way to make it load ...
0
votes
1answer
88 views

Wordpress performance - W3 Total Cache and memcached/APCu

I have freshly installed Wordpress, Nginx with PHP-FPM, W3 Total Cache (plugin), memcached and APCu on PHP 5.5. I will run a benchmark on my local mac against the aforementioned AWS server using ...
0
votes
2answers
48 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
0answers
19 views

Wordpress supercache real time preload

When a user create a new post, WP automatically share this URL in Twitter. This cause Twitterbots and other crawlers make many http request. All this process occur in 3 seconds where WP receive 6 to ...
0
votes
0answers
20 views

Alter wp_post table vs. post_meta performance/speed

I'm searching for the most efficient way to link a post to multiple users. By default each post in wp_post has a post_author column, which is linked to the corresponding user ID in wp_users. Assume ...
0
votes
1answer
29 views

Performance testing a Worpress site locally?

G'day, I am a novice in Wordpress development, I have searched a lot but couldn't find the solution. I have developed a Wordpress site and I want to test it on localhost, I want to test the server ...
1
vote
2answers
34 views

Overwriting templates in child theme and performance

Is it bad for performance to overwrite custom templates in the child theme? For example: I have a template called single-music.php in my parent theme. I have put single-music.php in the child theme ...
0
votes
0answers
259 views

Long wait times in first part of call to Wordpress on Azure

I've had a blog on Azure for quite a while, and despite optimisation attempts, it's still pretty slow. The initial TTFB seems to be a significant time sink. Azure setup It's quite a small blog and ...
5
votes
2answers
448 views

Strategies to implement selective loading of plugins

I'm trying to figure out some kind of mechanism to load plugins on demand, depending on the page url, to improve performance. My primary concern is that I have some admin-ajax.php calls that are ...
2
votes
2answers
109 views

get_the_foo() in the loop - does it perform another query?

I'm unclear on the get_the_foo() style of functions, for example get_the_permalink(). My main question is: when this is performed in The Loop, is another SQL query executed (besides the original ...
0
votes
1answer
31 views

Does registering multiple shortcodes impact performance?

There are a range of plugins that register multiple shortcodes, sometimes up to 30. What are the performance implications of having multiple shortcodes registered? I would assume that having a huge ...
0
votes
1answer
32 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
65 views

MultiSite extremely slow when navigating in admin area

I have a WordPress MultiSite blog. Recently I updated to 4.1. Not only since then, but already before my blog has been running very slow when navigating through the admin pages in the backend. It ...
1
vote
2answers
87 views

How can Wordpress be made more memory efficient?

Let's assume this is a site that has dynamic content pertaining to the user, or content that changes very often, so varnish is out. Let's also assume that there are no plugins and the theme is ...
0
votes
1answer
43 views

fastest replacement DB

What's the best database setup for WordPress for speed and lots of posts (hundred thousands of rows in posts and post_meta tables)? While I can cache as much as I can and optimize my queries/PHP as ...
0
votes
1answer
38 views

wp_get_update_data() function running on every admin request

In one specific instance of a WordPress build the admin is incredibly slow, after checking the issue out with the Query Monitor plugin I notice that WordPress is running a handfull (~15) HTTP requests ...
0
votes
1answer
54 views

One query to get posts and their taxonomy terms

I am building a map of posts and taxonomies to do some more intensive processing later on. Right now I am querying the posts with WP_Query and iterating over each one to get their taxonomy terms and ...
2
votes
2answers
43 views

What is the most efficient way of implementing a favorite post system?

I am going to implement a favorite post system so users can save their favorite posts for later reading. I want to know what is the best approach for doing it taking into considaration the ...
5
votes
1answer
48 views

Is there any difference between hooks posts_where with posts_join and posts_search performance wise?

I want to know which filter hook I should use that performs faster. I did try both several times and I noticed that posts_search is a bit faster than using the combination of posts_where and ...
0
votes
0answers
57 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
2answers
74 views

What is the most efficient way of implementing a notification system? [closed]

I am about to start implementing a notification system for my site and would like to know what performance measures I need to take into account before developing it. I need to make this for a large ...
0
votes
2answers
56 views

What is the best way (regarding performance) to set transients for logged in users?

I have an option for my logged in users where they can hide the posts they dont want to see. Everything works as expected until I implement transients. When I set the transients to cache the posts ...
3
votes
1answer
850 views

Is it true $wpdb->get_results is faster than WP_Query in most cases?

On my homepage, I have a section where I have to display the last five featured posts, where a featured post is simply a post with a custom field is_featured set to 1. I achieved what I want with two ...
0
votes
2answers
41 views

How to see list of plugins

Is there any tool out there for seeing a list of all the loaded plugins and how much time they took to load? Looking to analyze plugins effect on my site's performance.
-1
votes
1answer
46 views

Is there a maximum amount of pages for a multi-page post?

I will publish 2 books (encyclopedia) on my site, each with over 4000 pages. My plan is to put each book into a multipage post using the <!--nextpage--> tag. 1. Can Wordpress handle such a ...
3
votes
3answers
10k views

WooCommerce with thousands of products - site is very slow - optimize db queries? [closed]

So far I've got around 8,000 products in my WooCommerce and the product page on the front end takes several seconds to load, even after caching. My VPS host says that I should have multiple ...
3
votes
1answer
204 views

Improve or optimize a very slow query

I have a fairly large database - 113,299 rows in wp_posts and 216,0649 rows in wp_postmeta. There is one custom query that I run after a post is added or edited, which appears in MySQL's slow-log ...
5
votes
5answers
1k views

Why is home (a lot) slower than other pages?

I'm trying to tune a wordpress website which suffers slow loading times, and I found out that the home page seems to take a lot more time to load. It's not due to content because I'm just considering ...
0
votes
1answer
30 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
37 views

WP Admin register taxonomy and post type performance

I noticed that the wp backend (admin) gets slower (and slower) when creating custom post types & taxonomies. (note that I'm not flushing any rewrite rules). Right now I'm calling the ...
0
votes
1answer
45 views

Minimize Performance Issues of MultiSite Large Number of Tables Created

I am deploying WordPress MultiSite and if I get a decent amount of users, I will have thousands of database tables to support all of these sites. I like the idea of consolidating all of these tables ...
4
votes
1answer
115 views

What is the most efficient way of querying posts based on visits and date for current day?

I am about to develop a piece of code for my site to display the most popular posts of the day that are X days old. I would like some help from you to achieve this the most efficient way. This is ...
0
votes
0answers
58 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
1answer
19 views

Wordpress performance - send all metaboxes to function or to call it again

I need to send my metabox information to a function - the meta is already called on page template $meta = get_post_meta(get_the_ID()) but I need to use this data in function the metaboxes are ...
0
votes
1answer
179 views

Too many index.php files running and eating up all memory

I have wordpress site installed on dedicated server. From few days I'm experiencing high memory consumption on this cpanel account and it is slowing my wordpress site Then I examined Process ...
0
votes
1answer
21 views

Using functions repeatedly instead of variables

I think I know the answer already but I would like some clarification on what exactly is happening in the back end. Usually I call a wordpress function such as get_post_meta($id) and assign it to a ...
57
votes
13answers
5k views

Steps to Optimize WordPress in Regard to Server Load?

Besides installing W3 Total Cache or another caching plugin what steps can I take to make sure that my theme and site run as fast as possible.
0
votes
0answers
736 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
18 views

How to combine/minify prototype & scriptaculous and load it at the end? [duplicate]

Currently my WP 3.9.1 installation loads prototype and scriptaculous as follows: <script type="text/javascript" ...
1
vote
0answers
84 views

Website Loads Twice Unnecessarily

When I use tools.pingdom.com, I can see that my website is loading twice unnecessarily. The first time www.junkluggers.com is loaded, a cookie is set. Then part way through the loading process, ...
0
votes
1answer
222 views

AJAX – SHORTINIT set to TRUE returns blank

Thought I'd take this nifty shortinit trick for a spin. However, when I include this in my custom ajax handler, I get no response from my callback. If I comment it, it works just fine. Anything ...
16
votes
4answers
2k views

Could the WP script/style loader be used to concatenate and gzip scripts and styles in the front-end?

WP has a nice javascript loader included in wp-admin: http://core.trac.wordpress.org/browser/tags/3.0.4/wp-admin/load-scripts.php and a CSS loader: ...
36
votes
2answers
4k views

Do deactivated plugins slow down a WordPress site?

Most people are aware that minimizing the number of plugins used is a good way to help keep a WordPress site running fast. However, does that general rule include deactivated plugins?
1
vote
1answer
64 views

How to prevent/delay MySQL connections when an object cache is used?

We are using an object cache backed by memcached, however I think that WordPress will still connect to MySQL on every page load, which shouldn't be needed if all queries can be handled by the object ...