Page speed optimisation

Posted in: Newspaper
Post count: 49

I am on the best plan on http://www.siteground.com they have custom cache plugin i am using also they have CDN’s across the world. I also use CloudFlare Plus on top of that I have enabled compression leverage etc. I still can’t get my website to receive higher score or speed… Whats the point of the CDN then?

http://tools.pingdom.com/fpt/#!/bSdeZ6/www.toppcnews.com

Post count: 9544

Why not ask your CDN service ? They’re the one who sold you the plan?

A CDN “can” “in most cases” speed up a website by loading things like photos from a server closer to the person viewing it; meaning somebody in NY might get an image faster than somebody in CA, if loading the image from a server based in NY.

This doesn’t always mean the pages load any faster for PageSpeed. We ended up just loading things from our own server as the CDN didn’t “really” speed things up for us in actual practice. It’s more useful on large shared hosting accounts.

This info may be useful 🙂
http://gtmetrix.com/why-use-a-cdn.html

Post count: 9544

92% isn’t bad for GTmetrix
http://gtmetrix.com/reports/www.toppcnews.com/xZneVEc2

It’s more useful to test a “post” page than your home page, as the home page has many more images and queries than a story; and you don’t want the home page to load for a story in SERPS anyway, you want story to load under a search.

Try the above link, but with one of your post pages.

You cannot do anything about the ads loading from Google, or some other things. You have no control over stuff being loaded off somebody else’s server.

Post count: 49

If I enable minify from the CDN my sliders won’t work with this theme… Is it possible to get 2-3 seconds load time and Yslow of 90 for example. This is my google pagespeed test.

http://developers.google.com/speed/pagespeed/insights/?url=www.toppcnews.com&tab=desktop

What else can I improve I am really obsessed with this stuff.

Post count: 9544

2 seconds response time is your main issue.

Ours is .31 seconds.

Google ideally wants a response time under 3 msec.

Post count: 49

How can I fix that can you help me I can hire if you do custom work etc.

Post count: 9544

You need to talk to your hosting company about optimizing the speed of the “server response time.” There is nothing you can do externally to change that, if you have a slow connection outbound to the web. A CDN is supposed to help with that, ironically. Likely talk to a consultant from your hosting provider about what you can do since they claim to offer WordPress optimized hosting. 🙂

Post count: 49

I spoke to them 1000 times they tested a new wordpress page the tests are fine then I test on my page i get slow server time so I guess its not because of their server because on the new page you get like 0.8 response.

Post count: 9544

Well, server response is not how long the page takes to load, but how long it takes to first respond.

welcome to wordpress… Optimization is a lot of trial and error. I spent entire month of jan 2014 wasted on how to optimize our business site, with minification, cdn yes then no, sub domain to limit number of loads from one domain, mod pagespeed plugin, image optimization, sprites for some things, use fewer plugins, optimize wpconfig file, optimize fuctions.php file, optimize font loading, etc.

Post count: 9544

This random page with newsmag, no caching plugin, no cdn, 3 google ads, google fonts, and youtube video gets a 95 rating…
http://gtmetrix.com/reports/ga-ga.com/zQXF31Wz

It will be faster once i fix the font loading.
Also, youtube links now need to be long version and not the yout.be version, since its a redirect.

Every little thing adds up somewhere.

  • This reply was modified 11 years by simchris.
Post count: 9544

Again, test a typical post page… Not your home page.

Post count: 49

When I enable Minify from cloudflare or any cache plug in it fucks up my sliders and they don’t work. I have no idea why they put these options when in most cases they screw your page. I managed to optimize my website more. You can have a look at it again and it works better now I guess http://www.toppcnews.com

Post count: 6600

Hi,

Looks like the server response time is the main issue, I also see it when checking your site with google’s pagespeed insights tool: http://developers.google.com/speed/pagespeed/insights/?url=www.toppcnews.com&tab=desktop
You could also follow their documentation for the server response time and their recommendations: https://developers.google.com/speed/docs/insights/Server
Regarding the minify option, please note that the theme doesn’t recommend using that option as it could cause issues like the one you describe however you can track the script that breaks when you minify it and use the option to ignore the part of the js which cases issues, like this one in W3TC: http://screencast.com/t/zHQtDRkKd
Also consider that the theme already uses a minfied version of theme js when using the speed booster plugin so you wont need additional minification options.
Hope this helps!

Thanks

Post count: 9544

For minification I only recommend the following, and DONE MANUALLY:
I use http://cssminifier.com/

1) remove all the comments in wp-config.php manually
2) minify the style.css file
3) minify the functions.php file
4) if not running mod_pagespeed which does it for you, then you might also consider, manually opening your main post template and remove all double spaces and comments.

these are probably the 3 most loaded files on a WordPress site, and minifying them can really help.

Also putting in your direct URLs for base URL and home URL in the wp-config.php file really helps by saving queries. Similarly direct link to your theme folder also saves queries. But that is a bit advanced. See the WordPress Codex for more info on this topic of optimizing the wp-config.php file for hard-coded PATHS on your domain.

  • This reply was modified 11 years by simchris.
Viewing 14 posts - 1 through 14 (of 14 total)
The forum ‘Newspaper’ is closed to new topics and replies.