• I’d like to speed up how fast the header loads – It takes about 9 seconds before any clients even know where they are and are able to navigate throughout the website.

    The header is consistent throughout the entire site and it is a .inc document. How can I tell browsers that it is static so that it cashes it and doesn’t need to keep calling on it from the server?

    I don’t know if I can use an “expire date?” on it – if I can, what are the requirements of the server, and where do i put the code to implement the expire date for the header?

    thank you for your help, I’m completely new at editing in wordpress so please spell out everything for me ??

    Lucas
    fotoflare.ca/homepage/

Viewing 9 replies - 1 through 9 (of 9 total)
  • You’re loading an insane number of images on the front page. Try one post on the front page and see what happens.

    Then you can see about combining CSS and JS or selectively loading those files, as well as reducing the pixel depth of all those images.

    Thread Starter fotoflarephotography

    (@fotoflarephotography)

    @songdogtech
    I don’t think the photos are the problem considering that they are all closed posts. The last thing that loads on the page is the header and that is what I’m looking to speed up.

    I don’t think the photos are the problem considering that they are all closed posts…

    They’re simply “closed” by jQuery, but all the images still load: look at your page source or use Firebug to see what is loading in your site.

    And if you look at your page source, you’ll see that you have code out of place in header.php – <div id="topbar"></div> – that’s probably the cause of the header load.

    Thread Starter fotoflarephotography

    (@fotoflarephotography)

    Thanks for pointing that out songdogtech – where do I need to put the header.php code and what folder do you think it is in? (sorry, kinda new at this)

    Thanks for your time!

    Thread Starter fotoflarephotography

    (@fotoflarephotography)

    Tried moving the <div id=”topbar”></div> in the template.php but when I refreshed the source code, it didn’t move….. need more information as to what folder to move it in and where to move it (between what code)

    Thank you

    You – or someone – edited header.php or maybe index.php in your default theme; that’s the file(s) you need to work on. Get an unedited copy of the original file(s) from the original theme and compare the files. I can’t tell you exactly where to move <div id="topbar"></div> to, as I didn’t design the theme.

    Thread Starter fotoflarephotography

    (@fotoflarephotography)

    I cannot get in contact with the person that originally edited this website/theme.

    WordPress Default 1.6 I believe is the original theme – that’s what it says when I check after i log into wp.

    That means nothing; from the looks of the code, all that means is they forgot to change the name in the style sheet. It might be based on the default theme called Kubrick, but you’re not going to get anywhere comparing the code to a copy of Kubrick.

    There are hundreds of code errors in the theme, too, some very basic: [Invalid]Markup Validation of fotoflare.ca homepage – W3C Markup Validator

    Thread Starter fotoflarephotography

    (@fotoflarephotography)

    oh my gosh, how would i even work through all of that code???

    What document is that?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How do I increase the speed of my header?’ is closed to new replies.