Alex Rivera | Logout

What's the reasonable time for generating web page?

Asked 2010-10-05T21:48:20.540
12

I'm working on web app (Rails 3 based). And I really don't like the time it takes to generate the page - depending on the displayed data it takes up to 2.5 and even 4 seconds.

So I just was wondering what is the average reasonable time for generating page in your apps. Saying you check the generation time, e.g. it's 750ms and think "Ok, that should be fine even without caching". Or when you see 1.5sec you think "Oh my God, the user won't wait so long and leave the site"

Edit
Report

1 Answer

-4

My personal rule - no page should take more than 0.05 seconds, or you are in troubles.

As long as you write proper code, you don't need to spend much time on optimization to stay under 0.05.

If you stick to giant frameworks, then you are out of luck.

answered 2010-10-05T22:12:50.710

Your Answer