Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6968689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:29:06+00:00 2026-05-27T16:29:06+00:00

I’m new to web development and for my first project I have a need

  • 0

I’m new to web development and for my first project I have a need for 4 cascading drop down menus. Ive been reading as much as I can about the best way to tackle this and there is some discussion about whether to preload these lists or to grab them from my database. Mine is a LAMP project and I have about 5000 items that need to go into these dropdown menus. The discussion I’ve seen states that if you don’t have a large number of dropdown items you are much better off preloading these items and pulling them using javascript. My question is what is considered a large number? With 5000 items am I much better off going the MySQL route? On some level I prefer that but all of the tutorials out there seem to deal with either ASP or preloaded items. So my questions are:

Is 5000 items too many to preload for a dropdown list? What would the cutoff be?

And, do you know of any good tutorials to get me started if MySQL is the way to go. I’ve seen a couple but they are not very detailed and for a newbie I’m getting wrapped around the axle. Thanks so much!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T16:29:07+00:00Added an answer on May 27, 2026 at 4:29 pm

    I would look more to the size in kb than how many items. I’m guessing even 5k entries is going to be 1-2kb after gzip, which is generally very little compared to the rest of the external objects a typical webpage loads(compare to the size of images + css + js).

    Having to do multiple separate http requests is expensive from a responsiveness standpoint, especially for high latency connections like mobile devices(web autocomplete is generally pretty lame on my phone due to latency).

    So anyway, personally I lean heavily towards just loading it all upfront unless the amount of data gets huge, or the chance of the data being used at all is very low.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have thousands of HTML files to process using Groovy/Java and I need to
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
this is what i have right now Drawing an RSS feed into the php,
I want use html5's new tag to play a wav file (currently only supported
Seemingly simple, but I cannot find anything relevant on the web. What is the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.