The countdown timers are always the last thing to load on my pages which results in lengthier page load times. Do you have any performance tuning suggestions to make them load faster?

Comments

jvandervort’s picture

Load times are hard to judge. If you mean the timers don't actually start until your page completely loads, that is true.
So how are you judging which drupal bits are slowing down your overall page load?

I will look into file caching the javascript, but it might not fix your problem.

WISEOZ’s picture

The entire page takes < 2 seconds to load. Of that, .777 is just for the timerjs. We're using httpwatch to do timing runs.

+ 1.968 0.777 607 8123 GET 200 text/javascript http://www.wiseoz.com/countdowntimer/timerjs

jvandervort’s picture

Cool, I'll look into the caching thing.

Also, when you turn off the countdown timer, does the page load in 1.2 seconds? ie do you get back the whole .777?

WISEOZ’s picture

Yes. It appears that way.

jvandervort’s picture

Assigned: Unassigned » jvandervort
Status: Active » Fixed

When the new dev snapshot comes available, give it a try. It creates a real cachable file instead of using the virtual path.

WISEOZ’s picture

I see a 6.x dev snapshot available now. Will a 5.x dev snapshot be coming too? I'm on 5.x.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

jvandervort’s picture

Status: Closed (fixed) » Active
jvandervort’s picture

Status: Active » Fixed

When the new 5.x dev snapshot is created tonight, give it a try. It creates a real cachable file instead of using the virtual path.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.