Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: ergophobe
1) I was thinking that page size may be an issue, but WordPress does a dynamic page generation. I don't know how to find out what that size is. Can anyone assist?
2) Any other thoughts or experience as to why my pages are loading slow, or help with troubleshooting?
...but WordPress does a dynamic page generation. I don't know how to find out what that size is. Can anyone assist?
If you only want/need to find the size of a few pages, a default install of the Opera browser might help as it has a 'progress bar', which you can position via Tools \ Appearance \ Toolbars \ Progress Bar
It shows Document Size, Image Count, and 'Download Speed'
Note: this info disappears once the page is fully downloaded... and would probably be easier to read on a slow dial-up connection
I got a VPS on his ISP, and it has sped up my WP quite a bit. Maybe it's the Apache install.
Administering the site is still slow, but nowhere near as slow as it was. WP is a big fat pig; especially if you use a few plugins. Some people throw every plugin they can find into their installs. Each plugin costs you.
I haven't had much luck with WP-Cahce in my install. I have several pages that actually get screwed over by the caching, and I couldn't easily except them. I don't use it, and the site is really zippy.
Here's what I do:
1) I use a decent ISP with a fast LAMP.
2) I only use the plugins that I ABSOLUTELY NEED.
3) I put code into my header.php or pluging wp-head handler that prevents loads of things like the Google Maps API (REALLY SLOW) unless the page in question needs it.
4) I "scrub" my output, scripts and styles with a "cleaner" that strips out cruft like comments (in CSS and JS), multiple spaces and indents.
5) I use the "ob_" functions [us2.php.net] to deliver compressed content.
It makes it quite bearable for me.
A previous user (lavazza), suggested the Opera progress bar. Have you tried Firefox? Look for "page info" at the bottom of the menu produced when you right-click anywhere on a page. There's quite a lot under the "General" tab and I think the "Size" feature is about right - although I can't guarantee it. The values seem close to what I'd expect for my WordPress sites as previously my site used static pages.
As an example, this page in the forum (as I type) shows as 10.09 kB (10,332 bytes)
Web Page Analyzer:
It's a plugin for FireFox. Allows you to watch pages load in real-time, and allows you to view code in real time as well. Gives readouts for KB loaded, and the time it takes to load every aspect of the page. Perfect for what I needed.
And for those interested, I did eventually find the problem: It was partially the graphics on my pages - I had a bunch of JPGs that weren't compressed very well. I redid the compression on all my graphics and cut my page load times almost half.
The other part of the problem was that my site was on an underpowered server - as my site grew in popularity (2000+ uniques per day or so), it would also get spidered, often my multiple spiders at once. During those times, the dynamic page generation would kill the memory on the server and cause a slowdown. My host moved me to a heftier server.
Problems are solved.
Thanks for the help, everyone!