The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
30 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
44 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
5 views

Minified files blocking waterfall (wordpress and W3TC) [closed]

Im using W3TC with minify Im detecting that css and js minified files takes a lot to load, blocking the following elements in the waterfall. If i use other minification plugin, like head cleaner, ...
0
votes
0answers
22 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

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
18 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
26 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
31 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 ...
2
votes
2answers
108 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
0answers
193 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 ...
0
votes
1answer
28 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
31 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
50 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
77 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
39 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
31 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 ...
2
votes
2answers
40 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
46 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
51 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
53 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 ...
0
votes
2answers
40 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
43 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 ...
0
votes
2answers
67 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
1answer
29 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
35 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
40 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
111 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
1answer
18 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 ...
3
votes
1answer
175 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 ...
0
votes
1answer
159 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 ...
0
votes
0answers
598 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
68 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
0answers
54 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
209 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 ...
1
vote
1answer
62 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 ...
0
votes
1answer
41 views

How to get better performance for redirect from domain.tld/35 to domain.tld/full-permalink?

Based on this answer I created a function to change the shortlink from domain.tld?p=435 to domain.tld/435 and redirect domain.tld/435 to domain.tld/full-permalink: function shorter_shortlink() { ...
0
votes
0answers
50 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
1answer
347 views

How to get DEFER or ASYNC attribute to appear when I add a stylesheet with wp_enqueue_style from a plugin? [duplicate]

Almost all of my CSS and JS resources can be postponed with an ASYNC or DEFER tag added to the resource. This may improve performance of my page load times considerably. However, I don't know how to ...
0
votes
1answer
53 views

Is wp_deregister_script the best way to deal with unneeded plugins in a page?

I use some "heavy duty" plugging, like syntaxhighlighter, GD star rating etc. i create a de-register.php file which i use to deregister scripts and styles whenever they are not used. Example: ...
0
votes
0answers
19 views

Long-Running Meta Box Save (Performance)

I have a meta box that's designed to allow the user to check a few boxes to (basically) tie two posts together. The problem is that we have so many posts in the system that the request takes up to 10 ...
0
votes
2answers
80 views

WP_Options high

I have a site where the options_id field in the wp_options table have grown very, very large. After a month and a half after the installation the auto_increment value is now at over 10 million. ...
1
vote
0answers
22 views

Are There Performance Concerns with Front-End Theming Platforms on Serious WP Sites? [closed]

I've been helping a guy put together a site for a client and he insists on using a front end editing/theming platform for WordPress (in this case Pagelines DMS). However, I'm seriously questioning the ...
4
votes
1answer
659 views

Nginx + WordPress + HHVM: Why isn't Batcache working? Would Varnish help even more?

I've heard great things about HHVM, so I've setup a copy of WordPress blog (on another domain) with Nginx (with the Pagespeed module) and HHVM. Right now the benefits are obvious: on the same config, ...
0
votes
0answers
12 views

Extract visitor and other measure data from Wordpress

Is it possible to extract visitor data (such as number of views, time of views etc) from Wordpress or do you have to use the WP back-end or GA? Thanks Rich
1
vote
0answers
94 views

Slow wp-admin due to “SELECT DISTINCT post_mime_type FROM wp_posts WHERE post_type = 'attachment'”

The media library on a large site is slow in wp-admin. I did some research by looking into slow queries in the sql and found that this query is causing the slow response: SELECT DISTINCT ...
0
votes
0answers
34 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
0answers
62 views

Some Javascript and CSS not being compressed

Most of my site is being compressed by mod_deflate but there are still several JS & CSS files that are not. I cannot for the life of me figure out why these files are exempt. Thank you for any ...
0
votes
1answer
43 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 ...