i did a fresh wordpress install on my NAS and on my local machine (notebook). on my notebook anything is running perfect (takes ~3 secs to load) but from my NAS it is really extremely slow :( (taking ~12 secs)

it's the same setup and i couldn't find out the reason .. :(

it seems like that the problem is the internal siteurl (the nas' ip-address) and that wordpress is using it for all paths ..

any ideas? thanks

link|improve this question

Where's the database sit? Local machine or NAS? – editor Feb 9 '11 at 15:16
it's also at the nas. – Fuxi Feb 9 '11 at 15:21
feedback

1 Answer

up vote 1 down vote accepted

I guess you already answered the question yourself. The other thing could be that your NAS has a slow harddrive (5.400 rpm) or that your connection is slow.


Edit: Speed up with removing unwanted dashboard items...

<?php
/*
Plugin Name:    Dashboard-Widgets Removal Plugin
Plugin URI:     http://example.com
Description:    Disables admin UI dashboard widgets that you do not want
Author:         Franz Josef Kaiser
Author URI:     http://say-hello-code.com
Version:        0.1
License:        GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
/**
 * Disable unwanted Dashboard Admin UI Widgets
 */
function oxo_dashboard_widgets() {
    if ( !is_admin() ) 
        return;

    global $wp_meta_boxes;
    // Right Now - Comments, Posts, Pages at a glance
    # unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_right_now'] );
    // Recent Comments
    # unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_recent_comments'] );
    // Incoming Links
    # unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_incoming_links'] );
    // Plugins - Popular, New and Recently updated Wordpress Plugins
    unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins'] );

    // Wordpress Development Blog Feed
    unset( $wp_meta_boxes['dashboard']['side']['core']['dashboard_primary'] );
    // Other Wordpress News Feed
    unset( $wp_meta_boxes['dashboard']['side']['core']['dashboard_secondary'] );
    // Quick Press Form
    # unset( $wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press'] );
    // Recent Drafts List
    unset( $wp_meta_boxes['dashboard']['side']['core']['dashboard_recent_drafts'] );
}
add_action( 'wp_dashboard_setup', 'oxo_dashboard_widgets' );
?>

Edit #2: Link to a debug plugin that offers time meassuring: Blackbox Bar

link|improve this answer
1  
i forgot to mention that filetransfer is really fast, also normal use of the webserver. one thing i found out: disabling the dashboard's widgets did it speed up dramatically, but still ~2x slower than from the local machine. – Fuxi Feb 9 '11 at 14:44
Just adjust the plugin i added to your needs if it helps... – kaiser Feb 9 '11 at 15:44
Oh, and look at the link at the bottom of the answer. Maybe this helps too figuring out where the delay is (ex. DB??). – kaiser Feb 9 '11 at 15:45
thx for your reply - i already removed unwanted widgets + checked loading times with firebug. it doesn't help really as with my local version even with widgets it loads fast, but not from the NAS - it all just takes much longer .. – Fuxi Feb 9 '11 at 17:11
The "Blackbox Bar" didn't help anything? It's imo better than firebug (afaik i only know how to look at the network tab) 'cause you can look far more into detail (queries, etc.). – kaiser Feb 9 '11 at 17:19
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.