Bug #3549
closedProgressive Bootstrap Causes High Number of Application Instances
0%
Description
The problem can be recreated using the simple modified hello world program. The issue I am experiencing is the number of times my createApplication(...)
function is being called. When progressive bootstrap is enabled, the amount of times is around 40. When the progressive bootstrap is disabled everything seems to work correctly. In my application, I am setting the internal path to "/" with setInternalPath("/", true);
When I DO NOT set the internal path to "/", I still get multiple calls to createApplication(...)
but not as many - around 4.
Environment Information
Test program is run using the following command:
--approot=. --docroot='.;/resources, /favicon.ico' --http-address=0.0.0.0 --http-port=80
This is running in Ubuntu 12.04
Library Version Wt.3.3.3
Files
Updated by Koen Deforche about 10 years ago
- Status changed from New to Feedback
Hey Josh,
Can you see for which 'GET's you see new instances? I suspect it's because some browser requests for static files still end up in Wt.
--approot=. --docroot='.;/resources, /favicon.ico' --http-address=0.0.0.0 --http-port=80
should be:
--approot=. --docroot='.;/resources,/favicon.ico' --http-address=0.0.0.0 --http-port=80
Regards,
koen
Updated by Josh Lampco about 10 years ago
Koen,
This indeed seems to be the case. Apparently, Chrome asks multiple times for the favicon.
Thanks!
Updated by Koen Deforche about 10 years ago
- Status changed from Feedback to Resolved
Updated by Koen Deforche about 10 years ago
- Status changed from Resolved to Closed