• Hey,

    I have a site that takes an eternity to load.
    I’m with a popular and reputable host in the UK, so I doubt it’s them. Although some of the images are not very well compressed(a side-issue).

    I’m using WP 2.5.1 and store all my images in the ‘www.something.com/images’ folder, even for all my WP pages.

    Could this be slowing things down in my WP site.

    Should I link all my images and CSS, so it’s like : <img src="www.something.com/wp-content/themes/some/images/test.jpg" /> ?

    So does this mean I should do the same with my CSS style sheet too, so it doesn’t have to access different directories across my site?

    I’m happy to provide a link to show how sloooooow it can be 🙁

Viewing 15 replies - 1 through 15 (of 18 total)
  • you could have just risked it and put the link in anyway.

    live on the edge.

    Thread Starter sincewelastspoke

    (@sincewelastspoke)

    http://tinyurl.com/48ewfr

    I’m on the edge baby and it feels great 😀

    sorry, I don’t like living on the edge myself… real links or I aint going 😉

    too many javascript-ridden rickrolls in my time 😀

    Thread Starter sincewelastspoke

    (@sincewelastspoke)

    Please trust me 100% on this. It is a correct link.
    You could even disable Javascript in FireFox then when the page loads, just enable it and refresh. Apologies for the work-around, but I’d rather not add the direct link just yet.

    Thread Starter sincewelastspoke

    (@sincewelastspoke)

    OK, here it is: <snip>

    I don’t know why you’d avoid linking your site directly… but it doesn’t mater.

    Its a very snazzy design, but quite heavy on extras, not just images.

    It does load slowly, but I wonder if its the graphics, or whether it’s just really heavy on queries. I’ve tried out a couple of plugins which blew my queries out from 50 to over 400 on the front page, despite the plugin trigger actually not being required on the front page.

    Do you know how many queries you’re throwing out? If not, you’ll find a code snippit in the footer of the default wordpress theme which will output the count along with a timer. Kind of handy during dev.

    Thread Starter sincewelastspoke

    (@sincewelastspoke)

    Thanks for the quick response.

    Home Page apparently: 24 queries. 0.224 seconds.

    maybe it *is* just your host…

    the flash stuff, is it yours, or a drop-in?… any chance that’s causing the delay? I wouldn’t put it down to images unless you had a mile of scrolling going on, which you don’t.

    actually, upon reload the delay goes away, so it’s definitely something which is cached.

    a) either the images in the flash thing are huge, or
    b) the flash thing itself is huge, or
    c) your host really sucks donkey balls.

    Thread Starter sincewelastspoke

    (@sincewelastspoke)

    Thanks again.

    Just to request your help a little more, do you think I need all the bits in my <head> tag, stuff like

    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.thedomain.com/xmlrpc.php?rsd" />
    <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.thedomain.com/wp-includes/wlwmanifest.xml" />
    
    <link rel="pingback" href="http://www.thedomain.com/xmlrpc.php" />

    I have an annoying feeling <strong>it could be my host</strong>.

    I’m also going to reduce the number of HTTP requests I make to as few as possible., especially with those unnecessary JS files.

    The Flash is something we bought and customised. It uses XML to find images in a directory, then fill them in.
    I use sIFR too for SEO instead of just text in the images.

    I guess this goes for the rest of the site too, in terms of image compression, I really need to reduce them, without wasting quality.

    Thread Starter sincewelastspoke

    (@sincewelastspoke)

    I’m sure there was a tool somewhere(like Bobby Watchfire) that showed the total size of the images on ONE page. It’s not in my Firefox Web Dev toolbar 🙁

    the first two of those lines are not necessary, but the last one is a good idea to keep if you want to allow people to comment on your content

    if you’ll be turning off comments for the whole site, then getting rid of that isn’t a problem either.

    how big are those images being loaded by the flash thingy?

    if they’re not very large, changing compression on them isn’t going to make an enormous difference to an initial load time THAT slow.

    Thread Starter sincewelastspoke

    (@sincewelastspoke)

    Yes, but the footer is 65kb, the left top image(some building) is 35kb, the other two add up and then there’s logos and of course the Flash part.

    OK, 21kb for one image. And there’s 12 or so there. Not to mention the Flash file which is 16kb.

    And just a side-note: there must be a way to do a background-repeat instead of this: http://www.lmsurveyservices.com/images/hp_right_bg1.jpg 🙁 I’m just not good enough with CSS to know how.

    yep, when you add it up, it is fairly chunky… but still, it seems like a pretty long time to wait for even that.

    there is a way you can do that with a repeating background, but don’t overthink it…

    with jpeg compression that gradient will take barely any additional space, and is *much* cheaper than an additional connection to pull the background plus the stock art.

    Thread Starter sincewelastspoke

    (@sincewelastspoke)

    OK, I think I’ll work on it tomorrow, compressing as much as I can across the whole site. Shouldn’t really take too long 🙂

    there is a way you can do that with a repeating background, but don’t overthink it…
    with jpeg compression that gradient will take barely any additional space, and is *much* cheaper than an additional connection to pull the background plus the stock art.

    Yeeesh, wouldn’t know where to start. I’m cool having a background-repeat horizontally, but not to add the curves at each corner THEN position that image there. Seems a nightmare.

    Oh and also `<link rel=”EditURI” type=”application/rsd+xml” title=”RSD” href=”http://www.thedomain.com/xmlrpc.php?rsd&#8221; />
    <link rel=”wlwmanifest” type=”application/wlwmanifest+xml” href=”http://www.thedomain.com/wp-includes/wlwmanifest.xml&#8221; />` <– how do I remove these?

    Seems to be generated by wp_head(). Sorry again, for the newb-ness of this query.

Viewing 15 replies - 1 through 15 (of 18 total)

The topic ‘Store your images?’ is closed to new replies.