The tag has no wiki summary.

learn more… | top users | synonyms (1)

3
votes
1answer
18 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
36 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
38 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
37 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.
0
votes
1answer
38 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
40 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
27 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
21 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
31 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
76 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
17 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
97 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
75 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
20 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
165 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
41 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
46 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
92 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
44 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
34 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
41 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
116 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
38 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
47 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
402 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
8 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
56 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
31 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
42 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
39 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
1answer
33 views

What's the impact on WordPress' performance regarding the amount of classes/files in a plugin?

I'm refactoring a WordPress plugin and I have two main classes with an average of 500 lines between the two. There are other files in the plugin, but these are the ones where I keep most of the ...
0
votes
0answers
29 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 ...
0
votes
1answer
41 views

What are the performance hiccups when building plugins?

Im very interested in plugin development for wordpress. But I need to get a better understanding as to what parts of a plugins functionality is causing more or less harm to the performance of ...
3
votes
1answer
261 views

How can I reduce the number of database query calls for this custom homepage?

I am working on the design of a blog with the below(just a sample) category hierarchy. PARENT | ...
6
votes
3answers
757 views

get_option() vs get_theme_mod(): Why is one slower?

I've been using get_theme_mod() for some time in various projects of mine. I decided to take advantage of the Theme Customization API in WordPress v3.4 once it was available as I felt it was an ...
0
votes
0answers
148 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
42 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 ...
1
vote
1answer
55 views

How resource intensive is wp_register_script()?

I'm trying to use the has_shortcode() function to only load certain scripts when there is a shortcode in the post's content, with this code: wp_register_script( 'shortcode-js-file' , FILE_URI, array( ...
0
votes
0answers
28 views

Issues with page load after CSV export of database

I'm having an odd issue. I am using GEO my WP plugin (http://geomywp.com/) to create some custom post types and search forms on the front end. I am trying to import a database with about 600 posts ...
0
votes
0answers
64 views

How to use get_categories results called in header.php on the homepage as well without calling the database twice?

I have a Wordpress blog with multiple categories and I have to display the last two posts of certain categories(not all of them) in the header. This is so as to have this information available ...
3
votes
1answer
535 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
1answer
75 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
90 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
81 views

Is MySQL query cache useful for WordPress?

Starting from MySQL 5.6, if you use InnoDB as the default engine, the query cache is now officially disabled. We've a quite moderate traffic WordPress site and experience a major downtime when we ...
1
vote
1answer
74 views

Relative links for performance?

I have a blog out there, for the sake of this answer you may take a look at it: http://blog.alphasmanifesto.com/. I'm currently working my way through some performance optimizations. As you may see, ...
0
votes
1answer
90 views

Getting a PHP Notice when using Pods with WPML [closed]

I have Pods and WPML installed, and I have SitePress Multilingual CMS extension installed for WPML, and I have many custom post types which I've added using Pods. Recently when I was checking the ...
0
votes
3answers
100 views

Wordpress article with 50 000 words loading slow - 100% cpu

I have a wordpress article with 50 000 words. After a debug I realised that the CPU is 100% when I read the post / open the category page. I have a quad core server with 8gb ram (the ram level is ...