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 8390731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:04:44+00:00 2026-06-09T19:04:44+00:00

I want to create a networked embedded device with an HTML5/JS one-page AJAX configuration

  • 0

I want to create a networked embedded device with an HTML5/JS one-page AJAX configuration application.

My problem is: browsers open too much connections nowadays, in my device the number of concurrent connections is maximum 4 with a TCP stack in hardware (please remember, it is an embedded device).

Any request through a socket > 4 seems to be lost, one has to press F5 until a combination of application and cache elements is sitting in the browser.

Now my initial idea was to use a js loader (with the favicon as a data-url) as index document, which in turn loads the rest of the application one by one (perhaps also with progress bar, but that would be luxury).

In theory this should assure that there is only one connection opened at one time.

All js loaders which I found are about parallelizing and making faster in broadband environments on clustered load-balanced webservers, but I need serializing and reliability on a tiny 8bit MCU with webserver.

Any hints or directions are appreciated!

Edit: I have to apologize for using “socket” and “connection” interchangeably, I did mean “connection” and changed the original post accordingly.

  • 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-06-09T19:04:46+00:00Added an answer on June 9, 2026 at 7:04 pm

    The only way to reliably limit the number of connections a browser makes to your server is by only requiring a single connection to load everything in your page. In other words, everything must be inline.

    <!DOCTYPE html>
    <html><head><title>MCU app</title>
    <link rel="shortcut icon" href="data:...">
    <style>
        /* css here */
    </style>
    <script>
       // JS here
    </script>
    </head>
    <body>
    
    </body>
    </html>
    

    Of course, watch out for <img> tags.

    The other option I’d consider is hosting your HTML/JS/CSS/etc on a regular web server, and making only API calls to the embedded device.

    For example, you’d open mycoolembeddedapp.com in your browser. The app could ask for the embedded device’s IP address, and then make AJAX calls to that IP using CORS.

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

Sidebar

Related Questions

I want create an application with animate button? how can i do? after click
I want to create a windows form application that will sit on our local
I want to create an application upon Java technology which can be any of
I want to create an android application that acts like a proxy, all Internet
I want to create a Console Application in VB that broadcasts to all IPs
I want to create file-links to open an external editor from firefox. I have
I want to create an application that connects to a central remote database, and
I want to create an application which creates a VPN between some endpoints, something
I want to create a small windows application will go automatically every time period
I want to create an application that can give me a description of all

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.