Current time: 12-13-2017, 01:39 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wordpress extremely slow usually, even on empty page
09-08-2014, 09:48 PM
Post: #1
wordpress extremely slow usually, even on empty page
Hi!

Thanks in advance for everything
I have a wordpress site which works well otherwise, except being slow. Caching enabled and unnecessary plugins removed. With caching, sometimes it loads in few second which is somewhat ok, but many times it takes a lot of time just for the first byte to show

I've tested it with an empty page:
http://www.webpagetest.org/result/140908_9X_BQJ/

this is the page:
http://www.gaminglaptopsjunky.com/test-glj-perf/

this is a real page, cached:
http://www.gaminglaptopsjunky.com/gaming...under-600/

admin is especially slow almost always

There is no php code on my part, so it's must be something with the WP core / plugin loading and stuff.
Using the P3 performance profiler for wordpress, it seems that plugins take around 2-3 seconds to load, but I'm not sure this is a complete indication

Any ideas? how can I test it without placing more code inside the wp core? Should I time the hooks of wordpress?

Thanks
Find all posts by this user
Quote this message in a reply
09-09-2014, 05:02 PM
Post: #2
RE: wordpress extremely slow usually, even on empty page
Are you on the cheapest available hostgator plan? If you've not got a VPS to reconfigure, it's difficult to see what can be achieved.

I'd start with disabling everything until you get a reliable site, and then adding it back in until you find what is breaking it, and then investigate why.

Sorry to be so wooly, but a blank page isn't much to go on!
Find all posts by this user
Quote this message in a reply
09-10-2014, 01:54 AM (This post was last modified: 09-10-2014 02:24 AM by ajm_76.)
Post: #3
RE: wordpress extremely slow usually, even on empty page
Hi Junky,

It's actually not horrendous with no traffic shaping: http://www.webpagetest.org/result/140909_NC_QND/ (I'm assuming your site's users are on fast connections).

Not good per se, but not awful as regards "perceived" load time.

There are definitely things to be done, however.

Some things that will help a great deal are:
1.) Combining and minifiying JavaScript and CSS files (Your page has 27 blocking script resources and 18 blocking CSS resources)
2.) Try to async or defer JavaScript
2.) Optimize and lazy load your images
3.) Implement DNS prefetching
4.) Use a more svelte social sharing means
5.) Conditionally load Disqus

As far as your Admin running slow, this is nearly always an issue with the host and/or server configuration issue.

Best,
AJ
Managing Partner
WpFASTER.org

Make your WordPress website or blog not just faster & not merely fast, but one of the fastest sites in the ENTIRE WORLD.

Performance. Speed. Get Some. WpFASTER!
Find all posts by this user
Quote this message in a reply
09-10-2014, 03:40 AM
Post: #4
RE: wordpress extremely slow usually, even on empty page
many thanks to both of you

1. what can I do about all these external js / css files? can I minify or get them minified somehow?
2. by lazy load of images you mean progressive load?
3. Why conditionally load Disqus?

many thanks again
Find all posts by this user
Quote this message in a reply
09-10-2014, 06:00 AM
Post: #5
RE: wordpress extremely slow usually, even on empty page
(09-10-2014 03:40 AM)junky Wrote:  1. what can I do about all these external js / css files? can I minify or get them minified somehow?

After another look, you're probably not going to be able to minify many of those .js files without something 'breaking'. Combing them, however, should be relatively easy and will minimize HTTP connections resulting in a faster load. Combining and minifying your CSS should prove non-problematic, (but don't quote me on that). It will take some experimentation and A/B testing on your behalf or on the behalf of whomever will be optimizing your property.

The easiest way would be to use W3TC: Performance --> Minify --> Help (the "Help Wizard" at the top of the page). This function will show you all of the URIs W3TC detects as available for minification and combination. This function also allows you to choose where the combined .js file(s) will be placed, i.e. <head>, <body>, or </body>. Should dependency issue arise, you can also drag-and-drop .js and CSS files into any order within the combined file(s) that you need.

Quote:2. by lazy load of images you mean progressive load?

Lazy load. This particular plugin is tiny (~2kb) and is not jQuery dependent, which is likely what you need. Install and done.

Quote:3. Why conditionally load Disqus?

Even though Disqus' JavaScript is delivered asynchronously, it (almost always and nonetheless) monkeys with a users ability to immediately interact with the page upon which it is loaded.

Best,
AJ
Managing Partner
WpFASTER.org

Make your WordPress website or blog not just faster & not merely fast, but one of the fastest sites in the ENTIRE WORLD.

Performance. Speed. Get Some. WpFASTER!
Find all posts by this user
Quote this message in a reply
09-10-2014, 07:27 AM
Post: #6
RE: wordpress extremely slow usually, even on empty page
Many thanks, really, I appreciate it!

I'm using W3TC for quite some time now.
Installed Lazy Load (different one though, I'll try some)
and thanks for the Disqus advice

I just thought there might be some plugin that could monitor all hooks@plugin/theme-file and see what consumes the time. Could give some information. No?
Find all posts by this user
Quote this message in a reply
09-10-2014, 09:40 AM
Post: #7
RE: wordpress extremely slow usually, even on empty page
(09-10-2014 07:27 AM)junky Wrote:  I just thought there might be some plugin that could monitor all hooks@plugin/theme-file and see what consumes the time. Could give some information. No?

The easiest way to test your plugins is to disable them, then re-enable them one-by-one and test in between. The P3 (Plugin Performance Profiler) plugin is not going to give you accurate or consistent results and wouldn't even if your site were optimized for performance/speed.

All that said, the commitment to the idea that a plugin or plugins may be the root cause of your site's performance issues is to look at WordPress optimization in an incorrect manner (for the most), especially since optimizing your plugins' JavaScript and CSS (i.e. combining files/minifying and caching) will yield entirely different test and real-world, end-user results. Further, I see no evidence that plugins are your site's problems.

What is absolutely certain, however, is that there are several things having to do with basic optimization that are not being implemented; that, if implemented, absolutely will shave seconds off of your site's load time.

The best place for you to start is with the 27 blocking script resources and 18 blocking CSS resources, the other recommendations made in this thread, and the report that has been linked to herein. Get those squared away and your site will be much, much faster for its users.

As an aside, I am unable to replicate the whacky load times indicated in your initial post.

Best,
AJ
Managing Partner
WpFASTER.org

Make your WordPress website or blog not just faster & not merely fast, but one of the fastest sites in the ENTIRE WORLD.

Performance. Speed. Get Some. WpFASTER!
Find all posts by this user
Quote this message in a reply
09-10-2014, 09:45 AM
Post: #8
RE: wordpress extremely slow usually, even on empty page
thanks, I'll try to handle it and report back

many thanks for the lots of info, really
Find all posts by this user
Quote this message in a reply
09-11-2014, 03:26 AM
Post: #9
RE: wordpress extremely slow usually, even on empty page
(09-10-2014 09:45 AM)junky Wrote:  thanks, I'll try to handle it and report back

many thanks for the lots of info, really

Glad I could help and looking forward to seeing that faster site! Smile

AJ

Make your WordPress website or blog not just faster & not merely fast, but one of the fastest sites in the ENTIRE WORLD.

Performance. Speed. Get Some. WpFASTER!
Find all posts by this user
Quote this message in a reply
09-11-2014, 04:13 AM
Post: #10
RE: wordpress extremely slow usually, even on empty page
I think it's already much faster after the lazy load and async loading
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)