Another couple things you could do to speed up your site: 1) Minify or pack your javascript files and then combine then into a single file (you could use prototaculous) 2) gzip your CSS and javascript 3) Load your javascript and css files from a subdomain (example: static.tveed.com)
I've noticed, especially with prototype, is that it can really slow things down at times; however, if you reduce the script size and then load it as gzipped, it can dramatically speed things up. On Apr 16, 10:36 pm, Indian Baker <[EMAIL PROTECTED]> wrote: > Hi Guys, > We've built a site using cake 1.2x and it works fine overall.. > The only issue is the homepage takes a really long time to load.. > We are using the following helpers, html, javascript, ajax, and form > since all of them are needed there.. but any idea what makes the site > take so much time to load.. the other inner page load fast and if you > come back to the homepage it loads fast.. its only the first time that > you visit the site or visit after clearing your cache and cookies that > it takes so long to load. > I've enabled debug so you can see that the querying part is taking > only a couple of milli secs. no idea what could be wrong.. I even > trying caching the display view, but that too doesnt seen to help > > the site ishttp://www.tveed.com > > Any help would be appreciated > > Thanks in advance > > PS: there is a mysql_fetch error right now which we'll fix.. but I > dont think that could be one of the issues for the slow loading.. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
