I am running a Facebook application that asks users questions. When they complete one question they move onto another.
What I thought about is when they first hit the application the script pulls 300 questions from the database and loads them into either and array or JSON in Javascript.
In either case (Array or JSON), how many elements would be acceptable as to not make an impact on the users browsing experience?
Would 300 be to many? It's unlikely any user will sit there and answer 100 questions let alone 300 but I'm just making curious.
I'd like to do it this way to save on Ajax requests to the database load a new question.