Safari "time out" has been shortened... a fix?

Hi, Safari 3 seems to have shortened the length of time that it will wait for web pages, images, etc to load before it declares a "time out", compared to Safari 2. This was reported to be a problem in the beta phases, but the problem is certainly there in its current form on Mac OS 10.4.11 with Safari 3.0.4.

This is a problem for those of us on dial-up 56kbps connections, where webpages fail to load fully due to a whole host of "timed out" images, style sheets, etc, as reported in the Activity window. Safari 2 used to load pages just fine by just being a little more patient before giving up.

Is there a way of increasing the time out time for Safari 3? Obviously, getting a faster internet connection is not an option.

PowerBook, Mac OS X (10.4.11)

Posted on Jan 1, 2008 5:28 AM

Reply
27 replies

Jun 11, 2008 10:06 PM in response to eecue

As a PHP developer (who works with an occasional long-running back-end script), I run into this problem now and then. To solve the problem in the scripts I write, I make sure something is output to the browser while it's waiting for the script to complete. Actually, a certain number of bytes needs to be output. I'm not sure how much, but one script I've just written outputs 7KB within the first two minutes to keep Safari from timing out. 4KB wasn't enough I think. (Basically it outputs a short status message, and then 200 spaces, which aren't rendered by the browser but will appear in the source code.)

I don't know how to solve the problem if you're not the developer of the web site that's causing you problems, though!!

Scott

Jul 10, 2008 4:45 AM in response to bonecarpenter

I agree, what is with this nonsense? I'm developing a simulator in PHP and there are options for the user to do some incredibly long runs, that all require more than one minute of server time. I could not figure out the problem at first as I was only getting the Safari error with no message about timing out. It should at least tell you that this is what it has done. Thank goodness for Firefox, otherwise I would be forced to continue development on Windows!

Please Apple, could you let us know when and if this will be sorted.

Thansk!

Message was edited by: SabaiSabai

Jul 17, 2008 9:34 PM in response to maestro371

Well, I found a workaround for now but it's really obtuse. Since I'm using Java, I just store the HTML (SVG in this case) output in a session object and check for that before doing the crunching. That way, Safari calls the servlet, the servlet takes its time to produce the result and sticks it in a session object (as well as trying to spit it back to Safari, which has by this time timed out). Then I can just refresh Safari and pull the data from the session object to view it.

To initiate a refresh, I just invalidate the session object and start again. It's stupid that I have to resort to such measures.

Message was edited by: maestro371

Jul 17, 2008 10:11 PM in response to bonecarpenter

Hi,
Is Apple working on this? I have the same problem ever and I started to notice it when the last OS update was applied. If Safari waits for a page for any short amount of time I get the spinning color wheel and Force Quit indicates that Safari is not responding. I let it wait sometimes for up to 60 seconds and then Safari finally responds. Any suggestions would help. Thanks, Rick

Jul 17, 2008 11:35 PM in response to maestro371

Interesting tidbit of information that may help narrow the culprit code: Safari does not timeout when I call my servlet directly ("http://server/servlet/ServletName/"). However, when I include that servlet in an object within a JSP like:

<object data="/servlet/ServletName" type="image/svg+xml" id="svg" width="800" height="450"></object>

...the browser times out before the server can process the data to send back. The rest of the JSP is displayed (DIV borders, et cetera), but the embedded object is not.

Aug 4, 2008 8:35 AM in response to bonecarpenter

Firefox 3 was really annoying me with random hangups and delays, so I thought maybe I would switch over to Safari for a while. The very first thing I wanted to do I got the timeout message on a long-running page. Are you kidding? If I'm willing to wait over a minute why isn't Safari? I am going to check if this problem exists in Webkit. There has to be a setting for this somewhere, right?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Safari "time out" has been shortened... a fix?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.