473,513 Members | 2,448 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Script Load Latency

I'm developing a web application that will be used at very high latency
locations (>400ms). I have a lot of javascript files that I use in the
application, and therefore often have large numbers of <scripttags on
my pages. Due to the high latency at certain locations using my
application, it can take a very long time for pages to load because the
browser checks the server everytime to get the latest version of the
script.

With these conditions:

- I can't tell people to modify their browser settings so it never
checks for newer versions of the javascript files
- I would prefer not to combine all the javascript files into one big
javascript file
- I don't want to include all the javascript code into every page due
to its size

Are there any elegant solutions to this problem that I'm not aware of?
The application only has to support the Firefox browser.

Jul 27 '06 #1
3 1625
cochrane68,
Are you using an Expires header?

Jul 27 '06 #2

Paul wrote:
cochrane68,
Are you using an Expires header?
We were starting to look into that. Wasn't sure if it influenced just
the html and/or all the javascript referenced through <scripttags.

Jul 29 '06 #3

cochrane68 wrote:
Paul wrote:
cochrane68,
Are you using an Expires header?

We were starting to look into that. Wasn't sure if it influenced just
the html and/or all the javascript referenced through <scripttags.
It should apply to any resource that the client may want.
Keep in mind that users can override it through their preferences.

Jul 30 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1396
by: Michael A. Covington | last post by:
We have a computer that multiple people use through Remote Desktop. Is there a measurement analogous to UNIX's "load average" -- average number of processes trying to run, or something -- that...
8
1496
by: kwharrigan | last post by:
I am working on some code using python and a distributed system. Some particular message is sent on one machine (with a timestamp logged) and after the message is received, a timestamp is made. I...
7
2115
by: Tormod Engebu | last post by:
I'm currently using Jet for an Visual Basic Access application. The application is supposed to delete a row in a table, and afterwards update indexes on the remaining rows in that table, by...
3
2880
by: walker_alone | last post by:
I'm develop a realtime voice record and playback on pc soundcard, I use OSS API to implement it, but have latency about 1 seconds, this was to long for voice, how can I reduce the latency? I reduce...
3
2101
by: Shapper | last post by:
Hello, I am working on an ASP.NET/VB web site. I have several links including menu links. Considerer a want to load a page named page.aspx. I can do it using javascript. Or using this code:...
2
2318
by: Wayne M J | last post by:
I am capturing syslogd traffic from a firewall/router, if I display the results to Console it runs fine and dandy, but the minute I need it to go to a ListBox, DataGrid or even a text box problems...
5
3251
by: mike_dba | last post by:
I am looking for comments on experience using a Load from Cursor across multiple db's databases. I have a multi-terrabyte database across many partitions that includes a large table (1 Tb+). The...
3
2148
by: Jeff Jarrell | last post by:
I'd like to create a service-locator\proxy type service that I can use to simulate low bandwith situations and latency issues on the service under test. The request comes from the client, is...
2
6019
by: jeff80 | last post by:
Hello, I'm an absolute newbie when it comes to SQL. I was told that SQL server does not function well on a WAN where network latency between, say, the SQL server and a front-end server is...
0
7265
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7171
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7388
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7539
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5692
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5095
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4751
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
1
807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
461
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.