Page 1 of 1

lots of data speed issue

Posted: Tue May 18, 2010 7:24 pm
by gth759k
I have this site I've been working on for a long time for a client and the number of things that has to load every time the page loads is getting to be a problem. I told my client that using jquery to hide/show parts of the site makes the initial download slower, but faster navigation after everything loads. However, we added a very large calendar application to the site and now it takes like 2.5 seconds for the initial download which is unacceptable. Does anyone know of a good in-between as far as making the initial load faster, but still being able to integrate this calendar into the same page as everything else? I tried using an ajax function to load the calendar when the user clicks on the event tab (with something like document.getElementById('calendarbox').innerHTML = httpObject.responseText;), but apparently the when innerHTML isn't recognizing my style declarations. Any help would be appreciated. Thanks.

Re: lots of data speed issue

Posted: Wed May 19, 2010 1:55 am
by Christopher
Use a cache so you do not have to generate the calendar every request. I would recommend Zend_Cache which can be used stand-alone.