|
| |
|
|
Eli
Posts: 2658 From: ... er ... Status: offline
|
Page speed - 1/8/2003 6:00:40
Hiya! Could you give me some ideas on how to speed up this page - its seems v.slow: http://www.leisure-ideas.com/map.asp thanks
< Message edited by Micah -- 1/8/2003 6:01:00 AM >
|
|
|
|
Eli
Posts: 2658 From: ... er ... Status: offline
|
RE: Page speed - 1/9/2003 4:12:22
yes there is - there is a DRW which I tried to diet but to no avail and a random ASP script.
|
|
|
|
Eli
Posts: 2658 From: ... er ... Status: offline
|
RE: Page speed - 1/9/2003 16:44:41
my random script looks like this: quote:
<% ' ADO Constant. Dont change this Const adCmdText = &H0001 ' Connection string and SQL statement Dim query, connStr query = " select DatabaseRefNo, EstablishmentName, PostalTown, Description from main WHERE (Country = ' Great Britain' )" connStr = " Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath(" databse.mdb" ) ' Opening database Dim rs Set rs = Server.CreateObject(" ADODB.Recordset" ) rs.Open query, connStr, 3, , adCmdText ' Generating random number from total number of records Dim intRnd Randomize Timer intRnd = (Int(RND * rs.RecordCount)) ' Now moving the cursor to random record number rs.Move intRnd ' Showing the random statement %> <font color=" #000066" face=" Verdana" size=" 2" > <% Response.Write " <b>" & rs(" EstablishmentName" ) & " , in </b>" %> <% Response.Write " <b>" & rs(" PostalTown" ) & " </b>" %> </font> <p style=" word-spacing: 0; line-height: 100%; margin: 0" ><font color=" #800000" face=" Verdana" size=" 2" > <% Response.Write rs(" Description" ) & " </b>" %> my DRW is getting a DISTINCT WHERE using a drop down. I' ve noticed that my random script comes up quite quickly by itself and then everything else appears, att he same time, some moments later - is this the problem? Its all in the same table.
|
|
|
|
Eli
Posts: 2658 From: ... er ... Status: offline
|
RE: Page speed - 1/9/2003 18:33:31
quote:
ORIGINAL: Spooky To speed up the image map, you may want to use something other than poly to designate the hotspot as this uses a large number of co-ordinates. what do you suggest?
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: Page speed - 1/10/2003 23:42:59
Micah, I love your map1.gif. Very nice. I have High-Speed DSL but for a moment I thought I had my old dial-up connection as I waited for your site to load in. But it seems to have speeded up a little since I went to your site 2 days ago. I think it is your map1 photo and all the poly hyperlinks you have on it that could be the culprit. Great work but too much confined in it. This is only an educated guess. What I would do. Test the page without certian things on it. Remove all the poly' s, then test the page for speed. Then put them back and remove something else. This will soon reveal the time wasting culprit on your site.
_____________________________
|
|
|
|
Eli
Posts: 2658 From: ... er ... Status: offline
|
RE: Page speed - 1/11/2003 12:32:52
quote:
ORIGINAL: Long Island Lune How many " includes" are you still using??? just the header is an include - heres the page include: http://www.leisure-ideas.com/mapnoincludes.asp I may end up not using the photo anyway because it doesn' t show up in NN
< Message edited by Micah -- 1/11/2003 12:34:10 PM >
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: Page speed - 1/11/2003 12:55:54
Why can' t NN " work and play well with others" ? That' s too bad. Well if you remove the photo you won' t need all the poly links too. That will increase speed. Or... You could just keep the photo " staticlly" for display purposes to give the site it' s professional look but remove all the hyperlinks embedded within it. And it will still work in NN.
_____________________________
|
|
|
|
Eli
Posts: 2658 From: ... er ... Status: offline
|
RE: Page speed - 1/11/2003 13:59:49
i was meaning the 20k photo of the " hotel of the moment" . For some reason NN doesn' t want to play.
|
|
|
|
Eli
Posts: 2658 From: ... er ... Status: offline
|
RE: Page speed - 1/13/2003 5:57:26
Thanks for all of this - its been an education! Obviously I' d like to keep both the 20k and the poly map. However I also know that something has got to change. What are my alternatives to using a poly map?
|
|
|
|
Eli
Posts: 2658 From: ... er ... Status: offline
|
RE: Page speed - 1/14/2003 5:42:44
here' s a thought ...... can I use an if then statement to say IF url is loaded THEN go to page else " loading" (thats probably a long shot but I' m grasping here!)
< Message edited by Micah -- 1/14/2003 5:44:03 AM >
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: Page speed - 1/14/2003 11:35:23
I' m not sure I understand...
_____________________________
|
|
|
|
Eli
Posts: 2658 From: ... er ... Status: offline
|
RE: Page speed - 1/14/2003 11:38:20
it' s ok - i was just guessing. I' ve actaully found a couple of way to bring up a message to say " sorry its slow, but its worth it" take a look: http://www.leisure-ideas.com/map.asp http://www.leisure-ideas.com/mapbackup.asp I' m not sure which one I like better - but i' d prefer a gif animation rather than text
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: Page speed - 1/14/2003 11:46:45
Micah, I like that. I checked out both of them. I like: quote:
http://www.leisure-ideas.com/map.asp the best. It' s funny how the little box can make the waiting not seem so bad. I think you' ve got it!!! LLLuneeeeeeeeeee
_____________________________
|
|
|
|
Cookie
Posts: 297 Joined: 2/7/2002 From: UK Status: offline
|
RE: Page speed - 1/15/2003 7:42:06
How about using a preload image script? http://www.dynamicdrive.com/dynamicindex4/preloadimage.htm It has a progress bar, so the user " knows" that something is happening You can change it around a bit so it looks a little bit more user friendly.
|
|
|
|
Eli
Posts: 2658 From: ... er ... Status: offline
|
RE: Page speed - 1/15/2003 8:02:46
Cookie - thanks. I looked at this one yesterday but but prob wasn' t really the images but the whole page, espeailly the poly map coordinates. I chose to go with a somple javascript function that disappears on load. Check it out: http://www.leisure-ideas.com/map.asp what do you think?
|
|
|
|
Cookie
Posts: 297 Joined: 2/7/2002 From: UK Status: offline
|
RE: Page speed - 1/15/2003 11:12:03
It took a while to connect to the site. So the popup didn' t even show for a while. Perhaps take them to a page before hand that preloads the image and warns them of a slight delay? Some people will just think " hmmm not working" and move on. (I nearly did). Dave
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|