Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript and apache

Status
Not open for further replies.

wjod

IS-IT--Management
Nov 11, 2004
6
IE
I have a perl program which dynamically generates a web page loading in a javascript file in the process.
The script extracts the contents from a section of Novells eDirectory and displays the result in the browser.

I have tried the same files on two systems.

a) Windows 2000 desktop using localhost/scripts as the location of the files. The data is retreived and displayed correctly. The process takes about 5 seconds to load from start to finish.

b) Apache v2 on a netware server using as the location of the files. The process takes upto 20 seconds from start to finish, the retrieval and display is complete within 5 seconds but the browser does not indcate that it has finished for a further 15-16 seconds. Until this is complete the functions defined in the javascript code are unavailable.

I am at a loss why the Apache system is causing such a significant delay, any ideas whould be much appreciated...

TIA
 
bad install or server? i have apache running on winxp pro, and my pages with js includes load instantly

same pages running on apache on my webhost's linux server also load instantly



=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); } finally { rtfm(); }
 
Also, you might want to check for any antivirus software running in the background that is different on the 2 machines. (or any other programs for that matter) I recently changed the anti-virus software on my work pc and the web application that I'm developing increased it's page load time by about 4x with the new anti-virus software.

-kaht

banghead.gif
 
jemminger

If its the server, what should I be looking for?

Kaht

The AV software on the client and server are from the same vendor (Symantec NOtron Corporate edition)

 
>> "If its the server, what should I be looking for?"

not really sure...i'm not much of a hardware guy, but i would make sure it's not a weak machine, like a PII 150MHz with 32MB ram or something



=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); } finally { rtfm(); }
 
The server is a p4 1.6ghz server with 1gb ram ... not short of resources.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top