My application's canvas pages are loading very slow, even regular cached content pages taking over 6 seconds to load. Pages that have some processing to do, very often time out. But I noticed, even thought they are timing out, their processes appear to be completed, so nothing simply breaks. I tried other peoples' apps, and very many of them are pretty fast, comparing to mine, so I don't understand why my app is so slow. The same pages on the server are lightning fast - tables and queries are optimized and I even manually cached some fb pages trying to make them faster.
I would appreciate any help with this.
Comments
Comment #1
Dave Cohen commentedOne concern I have about canvas page performance is the fb_canvas_process() function. It uses regular expressions to change URLs on the otherwise completed page. I tried to do without this, but never found a way. There's been talk of adding a "url_alter" ability in D7, which would eliminate the need for this.
However I don't think that accounts for all the slowness you're talking about. Could be some inefficiency that I don't know about. I'm not sure how to track it down, but I'd help to fix it if we can find it.
Comment #2
gemini commentedThanks for your reply Dave. I tried Firebug and Fidler to do network monitoring and it's the call to the canvas page that is the longest. I wish we could break it down somehow and see where it gets stuck...
Comment #3
Letharion commentedSince Drupal 5 is no longer supported, I'm taking the liberty to close all FB D5 support requests.