ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Some Pages Loading Slow

October 24, 2009 12:47am

Subscribe [6]
  • #1 / Oct 24, 2009 12:47am

    Lance Britton

    9 posts

    Moderator’s note: Threads merged, no need to double post.

    This question may be related to a resolved thread.

    I have a site that I need to go live soon.  I noticed that the pages that has more content loads extremely slow. They are not real long but they are the only ones that load slow.

    Any ideas? 

    http://66.147.242.191/~martenco/index.php?

    Go to the tributes page under drivers or the terminals page under about us.

    This is my first EE site so I’m a little concerned.  Okay, really concerned.

  • #2 / Oct 24, 2009 11:22am

    Lance Britton

    9 posts

    I have a site that I need to go live soon.  I noticed that the pages that has more content loads extremely slow. They are not real long but they are the only ones that load slow.

    Any ideas?

    http://66.147.242.191/~martenco/index.php?

    Go to the tributes page under drivers or the terminals page under about us.

    This is my first EE site so I’m a little concerned.  Okay, really concerned.

  • #3 / Oct 24, 2009 12:51pm

    Herb

    224 posts

    I visited the site. (Funny, I’m a truck driver). Those two pages do indeed load slower than the other pages on the site; however, when I load them a second time (either by hitting refresh/reload or selecting them from your menu) they load faster.  It is hard to see what is going on since all I get is the page output.

    The question would be: what do these two pages do that is unique?

    Try enabling admin->system preference->output and debugging preferences->display template debugging.

    At the bottom of your page will be an output of what the template engine is doing and benchmark times.  You may be able to see what is causing the delay and then focus on that.

  • #4 / Oct 24, 2009 3:13pm

    Ingmar

    29245 posts

    Adding to what Herb says: the whole page is not all that fast, really. Have you looked at these tips to optimize your templates and site?

  • #5 / Oct 25, 2009 10:45pm

    Lance Britton

    9 posts

    I’ll try the optimization recommendations and see how that helps.  I’ll let you know soon.  I just think it is strange that those pages are so much slower than the rest. 

    Do you think the whole site is slow for EE and the amount of info that is on the pages or just the longer pages?  I really don’t know how to gauge it.

  • #6 / Oct 25, 2009 11:08pm

    Lance Britton

    9 posts

    I optimized the database and rebuild it.  Didn’t work.  I played around with the cache settings and turned off the SQL Query Caching and it seems faster…I think.  I thought the Query Caching increased the speed…? 

    Seem faster on your end?  Does it seem like a normal speed or still slow?

    Thanks for the input.  I’ve designed sites for a good while but this is my first using a CMS. Guess I still have a lot to learn.

  • #7 / Nov 25, 2009 1:35pm

    Lance Britton

    9 posts

    Okay, I need a little help here.  I thought the issue was fixed.  Don’t know if this had anything to do with it and I don’t see how it could but when I had the domain point to the IP address the site slowed back down.  Really I think it just was never fixed. 

    I did everything suggested but the pages that are long loads really slow.  Our Story is an example.  Everything else loads fine.

    Any more ideas?

    http://www.marten.com

  • #8 / Nov 25, 2009 1:36pm

    Lance Britton

    9 posts

    Okay, I need a little help here.  I thought the issue was fixed.  Don’t know if this had anything to do with it and I don’t see how it could but when I had the domain point to the IP address the site slowed back down.  Really I think it just was never fixed. 

    I did everything suggested but the pages that are long loads really slow.  Our Story is an example.  Everything else loads fine.

    Any more ideas?

    http://www.marten.com

  • #9 / Nov 25, 2009 6:34pm

    Sue Crocker

    26054 posts

    Lance, Our Story loaded up just fine for me.

  • #10 / Nov 26, 2009 9:47am

    Mark Croxton

    319 posts

    Try loading jQuery and the jQuery UI locally rather than linking to Google’s Ajax libraries. I’ve found Google’s libraries can be intermittently slow to load, sometimes taking many seconds, and so I always use local copies now.

    The other issue I would address is the invalid markup which will cause the browser to render the pages more slowly. Validate your pages to find the errors.

    You also have a few missing files, eg favicon.ico

  • #11 / Nov 27, 2009 10:12pm

    Greg Aker

    6022 posts

    Lance,

    Flip on template debugging & show sql queries in Admin -> Output & Debugging Prefs.  Put what you get in text files, zip up and attach to a post here please.

    Give us the ‘our story’ and home pages.

    -greg

  • #12 / Dec 10, 2009 5:03pm

    Lance Britton

    9 posts

    The file is attached with the Our Story page and Home page file info.

    Mark,
    You mentioned validating the markup, did you see errors on the pages? Is there a tool to help validate the code for EE?

    Any info would help.  This thing seems to be creeping.

  • #13 / Dec 10, 2009 7:36pm

    Adam Dorsey

    1439 posts

    Hi Lance-
    Mark was referring to the actual HTML markup. You can validate your pages, here.

    I reviewed your stats, and it looks like the Textile method is taking a long time to parse. Can you take this exact entry (Our Story) and drop it into another custom field for testing? (create a new one for testing, if need be). One that has default HTML formatting, or formatting set to none. Then test that page.

    Does this make sense?

  • #14 / Dec 11, 2009 2:07pm

    Lance Britton

    9 posts

    I think that fixed it…maybe.  I don’t know why I was using Textile. For the formatting I’ve been using TinyMCE.  I took out the tags for Textile around the custom field markup and then deleted the Textile plugin.  Seems to be running faster.

    So was the Textile conflicting with the TinyMCE?

    Hope I didn’t mess anything up.  I could still edit the pages and the formatting seems to be fine.


    Let me know what you think.

  • #15 / Dec 11, 2009 7:29pm

    Adam Dorsey

    1439 posts

    Hi Lance-
    If you had textile tags in the template, and you were using TinyMCE, this could definitely have caused some issues. Maybe you originally used textile, and then switched to TinyMCE without removing the old tags?

    At any rate, I browsed to the problematic page (Tributes) and it loaded almost instantly for me.

    Is there anything else we can help you with on this?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases