The tag has no wiki summary.

learn more… | top users | synonyms (1)

1
vote
2answers
100 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) { ...
0
votes
2answers
34 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
2answers
179 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 ...
1
vote
1answer
354 views

Is there a real benefit in using wordpress optimized hosting?

I'm building a site for a client. This site often takes a long time to load initially, but is rather fast when loading the next page because of WP Super Cache plugin. But still, the majority of ...
0
votes
0answers
58 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
47 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
29 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
34 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
1answer
466 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 ...
0
votes
1answer
577 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 ...
3
votes
3answers
871 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 ...
1
vote
2answers
258 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 ...
0
votes
1answer
38 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
40 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
28 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 ...
1
vote
1answer
378 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
60 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
126 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() ...
0
votes
0answers
35 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
48 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
38 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 ...
0
votes
0answers
99 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
111 views

Why does WordPress load jQuery in my header instead of footer?

Here's a site I'm working on... 198.1.77.196/~larog/ I've taken an older WordPress theme (Twenty Ten) and modified it to be my own theme. Anyways, the site isn't anywhere near done, I'm just in the ...
2
votes
2answers
119 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 ...
0
votes
0answers
41 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 ...
1
vote
1answer
103 views

What is better to use, user meta, custom taxonomies or new database structure? [closed]

I am looking for some advice. I will be working on user follow system (like twitter) for my site. I expect it to have a large number of users using this system. So, I would like to know what is ...
0
votes
1answer
101 views

What is the point of get_comment_count() if you cannot limit by a comment type?

We are finding that large WooCommerce sites run very slow. Amongst many issues, this one has me scratching my head. WooComemrce stores order notes in the comments table, giving them a comment_type of ...
1
vote
1answer
197 views

how to find and correct plugin query performance issues

I have recently uploaded a new site I've been working on for a while - which is working and performing very well on the localhost - there is no notable sluggishness to the load-times. Once uploaded ...
0
votes
3answers
35 views

Wordpress network vs Separate installs

I am contemplating hosting all my client sites on one wordpress network. So far I've been installing a new wordpress installation for every site. Is it a good idea (compared to standalone ...
0
votes
1answer
1k views

Speed optimization on WP site, Remove query strings from static resources [duplicate]

I am using GTMetrix to test the speed of one of my sites. The report says that I should 'Remove query strings from static resources' Resources with a "?" in the URL are not cached by some proxy ...
0
votes
2answers
35 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 ...
-1
votes
1answer
78 views

How accurate is P3 Plugin profiler

How accurately does the P3 Plugin Profiler plugin measure the loading time of plugins, and what mechanism does it uses to estimate the loading time?
0
votes
2answers
2k views

PHP 5.5, w3 Total Cache, and opcache [closed]

PHP5.5 has ZendOptimizer opcache built in and it seems to work pretty well and the benchmarks seem to give it a slight edge over APC in performance. Great. So APC seems to be on its way out. My ...
0
votes
0answers
47 views

Homepage not loading, all other pages loading

I've made a small website using WordPress. I've been facing a problem since quite long - my homepage is either extremely slow to load, or doesn't load at all. But all other pages of my website load at ...
1
vote
2answers
183 views

Custom Post Types. Are there any disadvantages/advantages in using a plugin to develop them?

There are a few plugins which can assist you in building your CPT's, and these can usually handle your taxonomies and sometimes postmeta also. Some even take it further than that. I know that as with ...
2
votes
1answer
69 views

How to control the order of the combination of enqueued styles and scripts - site speed issue

We know, using wp_head() and wp_footer() all the scripts and styles are enqueued using wp_enqueue_styles and wp_enqueue_scripts hook. What we do is to enqueue our stylesheets and scripts using ...
2
votes
1answer
78 views

Can we have a post without a slug?

When I insert a post I've found that there is a slow call to wp_unique_post_slug from within insert_post (In the database I'm using to test there is 155,000 posts - live would have considerably more). ...
1
vote
2answers
264 views

Efficiency on displaying random authors based on large database

I'm trying to display a list of 5 authors randomly. Here are some solutions I had found: http://stackoverflow.com/questions/5502609/get-authors-randomly ...
1
vote
0answers
87 views

Transients and WP Super Cache? [closed]

Is it worth using Transients when running WP Super Cache? We have a website that get's updated 20 times a day with new post, so I set a lot transients for queries that don't reflect those updates. My ...
1
vote
0answers
285 views

High CPU usage on 404 errors

After debugging high CPU usage for a week, I've discovered that URLs submitted to my WordPress site that result in 404 errors cause high CPU usage. I tested my site with jmeter. When I request a file ...
0
votes
2answers
152 views

Multiple queries on Home Page - page load/site speed issue

I acquainted a client who designed his own fashion magazine site. My company handed the project to me to make it with WordPress. When I was making the complete template for the site, I found his ...
1
vote
0answers
50 views

How to analyze wordpress plugin performance

Is there any plugin that I can use to determine the performance of the plugin that I'm writing? I'm currently checking out the following plugins to determine any problems that might cause low ...
0
votes
1answer
125 views

Slow WP Site, theme.php not caching? Up to 25 second load time! [closed]

I have two WP subdirectories off of a Joomla domain. The Joomla load time is ok. However, the WPs are so so sooooo slow. The back end is slow too. I have w3 cache installed on both and I've copied the ...
-2
votes
1answer
114 views

How much server power does Worldpress take? [closed]

I have multiple Wordpress websites on my server(And a game server and Tomcat) and I'm a little paranoid about my servers health. How much does a newly installed Wordpress take typically?
0
votes
0answers
106 views

How to manage a 200 sidebars website? widgets.php page is way too slow!

I'm using a plugin called "Simple Page Sidebars" (http://wordpress.org/extend/plugins/simple-page-sidebars/) to manage the sidebar of pages. The problem is that now, I have more than 200 sidebars in ...
0
votes
1answer
93 views

How to add post meta to post permalink with still keeping a good performance?

the following problem - I want to completly change my post permalink structure to be like this: www.example.com/%post_id%/%post_meta_value1%-%post_meta_value2%-.... It would even be more nice to ...
1
vote
0answers
501 views

how to use shortinit in wordpress

I want to load a minimal resources in Wordpress because the server that I'm working on is very slow. I tried defining short init in the wp-config file: define('SHORTINIT', true); But then I got ...
1
vote
1answer
641 views

Using get_bloginfo('template_directory') or variable - performance issue

Can I please ask you about the performance of these two approaches in term of execution speed and server load? approach 1: <img src="<?php echo get_bloginfo('template_directory'); ...
1
vote
1answer
265 views

Correct way to perform non-cacheable DB query

Consider the code function getNow() { global $wpdb; $now = $wpdb->get_var("SELECT NOW()"); $wpdb->flush(); return $now; } I am using the above method to avoid caching ...
0
votes
0answers
34 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 ...