The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
0answers
24 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
1answer
25 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 ...
0
votes
0answers
6 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
33 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
24 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
19 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
35 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
239 views

PODS performance vs custom field

is using pods's own content tpye where custom fields are all stored in one table more scalable than custom fields of wordpress where each field is a row in the meta table... I haven't used PODS yet ...
0
votes
1answer
29 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
18 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 ...
8
votes
4answers
2k views

Profiling a WordPress Website for Deployment on Shared Hosting?

I am having a problem with CPU usage on my website, and am looking for a way to detect (and fix) what is causing it. A topic not covered in this question. Following on Hakre answer here, I now ...
0
votes
1answer
33 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
111 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 | ...
5
votes
2answers
175 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 ...
32
votes
2answers
3k views

Ajax takes 10x as long as it should/could

I have just hit my first serious issue with WordPress and for someone that enjoys Ajax this is a biggy. I have an Ajax request that is taking 1.5 seconds to complete while using the Ajax API. If I ...
3
votes
1answer
141 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
38 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
43 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
38 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 ...
0
votes
1answer
30 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
45 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 ...
1
vote
1answer
67 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, ...
6
votes
4answers
3k views

How can I find the source of slow queries in Wordpress?

I have a WordPress site with more than 8000 posts and everytime I add a new one the site becomes unresponsive. I checked the MySQL slow queries log and found out that it is performing a select that ...
0
votes
1answer
40 views

Getting a PHP Notice when using Pods with WPML

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 ...
-3
votes
3answers
5k views

Plugins to generate CSS Sprites? [closed]

I see that w3 total cache can't offer CSS sprite generation. Is there another plugin that can complement this feature? Thanks. update: I didn't mean that w3 total cache doesn't allow CSS sprites to ...
0
votes
1answer
30 views

Wordpress Site Speed (Maybe Server Issue)

Okay so I have a newly created eCommerce site here at work, and I have set up W3 Total Cache with MaxCDN running. It all works correctly, all the static content is run from there without any problems. ...
1
vote
2answers
85 views

I have over 4000 posts, will querying some of them cause performance issues?

I am wondering if querying posts like this: <?php $args = array('numberposts' => 19, 'orderby' => 'rand' ); $posts = get_posts( $args ); foreach($posts as $post) { ...
3
votes
3answers
797 views

Memory needed to host 200 wordpress sites?

I'm planning to use Multisite to host 200 different wordpress blog with each having their own unique subdomain. I notice each time I create a virtual host for each subdomain it'll use roughly 50mb ...
0
votes
2answers
76 views

Conditionally include files in functions.php?

I have a bunch of functionality being added to a Wordpress site including files in functions.php but I'm worried about performance. All of these files are included for every page request and not all ...
0
votes
2answers
33 views

Performance disadvantge of second installation instead multisite feature?

Is there any (performance-)disadvantage when I run two installations of wordpress instead of using the multisite feature? My question refers only to the difference of multisite / two installations. ...
0
votes
0answers
46 views

Add index for post_title field to get similar post using full-text search

Currently, there are too many of my blog posts (about 700,000 articles) In my blog function "related articles" I'm thinking to use full-text search function to display the following related articles: ...
1
vote
1answer
37 views

Do I need to flush rewrite rules when creating new user if using custom author rewrite rules?

I am using custom urls for my author pages like this: http://site.com/author_name After I create a new user, that author page appears as not found; however, if I update my permalink structure from ...
0
votes
0answers
26 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 ...
2
votes
1answer
32 views

Are there Limitations on filter handles?

I was looking through a 3rd party plugin's code today and found them doing this: add_filter('some_base_handle'.sanitize_title($string), ...) Curious, since I was using xh_prof to look for code that ...
1
vote
2answers
219 views

Downsize CPU & DB usage in wordpress

i have created a smart interface WP based which we use to manage clients.. it uses a lot of information and data each time a client is returned / viewed. it is a locked interface and does not have ...
1
vote
1answer
153 views

get_the_title($postID) OR get_the_title()?

I would like to know which could be more performant between these two approaches of getting data of a post To use a loop after a WP_Query($aConditions) and use functions like get_the_title() ... and ...
5
votes
1answer
204 views

Should I use Transients with W3 Total Cache APC Caching? [closed]

Should I use Transients in my queries like this? <?php if ( ! $my_paged = absint( get_query_var( 'paged' ) ) ) $my_paged = 1; if ( ! $my_query = get_transient( "567recent_$my_paged" ) ) { ...
0
votes
1answer
33 views

Taxonomy vs Post Status

I'm building a web app so scalability is one of my main focuses when developing. On the app I am building I have a post type called 'Projects'. A project can be either be: Open In Work On Hold ...
0
votes
1answer
39 views

How to avoid filling up an array each time I run a WP_query?

I am making a following user system and need some help for retrieving the users ids a user is following. At the moment I am using the following SQL query for retrieving the users ids a user is ...
0
votes
0answers
25 views

Hops / redirects delay loading site

I notice my site is quite slow to load when bypassing server and browser cache. The delay can be anywhere between 4 and 20 seconds. Take the login page as an example and looking in Firebug, I can ...
2
votes
2answers
101 views

WordPress for a very large website

I've searched and searched but I did not find an answer online. Also, I've posted this on StackOverflow and apparently it wasn't ok and I reposted this here. I hope it's ok. I have this website which ...
1
vote
1answer
221 views

Advanced Custom Fields - Query Efficiency

For testing purposes I have edited page.php to have nothing other than: <?php while ( have_posts() ) : the_post(); ?> <h1><?php the_title(); ?></h1> <?php $site_options = ...
0
votes
1answer
50 views

How to optimize on-the-fly theme switching for mobile browsers?

I'm using switch_theme() to switch between default and mobile themes for my visitors in real time. Here's my code : // Get the user agent $user_agent = $_SERVER['HTTP_USER_AGENT']; // Preg match for ...
1
vote
2answers
93 views

Using Multiple Queries of “home_url” vs. Calling a Variable Multiple Times

Question Since I am using multiple instances of home_url() in one page template, I was curious if the following method would speed up my page load time. My method is to store the output of home_url() ...
3
votes
2answers
262 views

Localized WordPress is much slower?

I'm using xdebug and webgrind to profile my WordPress installation because it's a bit slow. As there are some 20 plugins activated, I figured xdebug will be able to find the bottleneck. However, to ...
0
votes
0answers
33 views

What is the best way and how do I display posts from categories and users a user is following?

I am making a user/term following system where users can follow users and terms (inlcuding categories). Once the user follows another user and/or term I am saving the ids for each in a custom table. ...
0
votes
0answers
43 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. ...
1
vote
1answer
35 views

Does auto_load to 'no' in wp_options improve performance

I am trying to improve the performance of a wordpress based blog. I am looking at wp_options table and am thinking to set the column auto_load to 'no'. Does it have any side-effect on the site ...
4
votes
6answers
965 views

Can Wordpress realistically handle a site with 500 'pages'?

I'm building it from scratch and probably a 100 or so of those pages will be ecommerce. I would like to create meaningful, normal looking permalinks for aesthetics and SEO. I would really love to ...
0
votes
0answers
63 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 ...