Viewer 2.6 is slower to load than 2.5.2
https://maps.srcity.org/Html5Viewer/Index.html?viewer=parcel
-
Hi Mike,
I looked into your site and noticed that the request that was taking longest for me was the f=json request to the essentials site itself. I have an inkling of what might be causing this but I can't be 100% sure until I talk with the developer.
The dev is unfortunately away right now, but once he is back I will discuss with him and see if we can find a solution to your issue.
Cory Purnell
0 -
Cory, 0 -
We are having the same issue here. Any progress on this Cory? 0 -
Hi Mike (and Nelson!),
Sorry I couldn't get back to you sooner, my suspicion was around the f=json request on the viewer name. I had thought that this was related to a security change but it turned out to be related to the implimentation of short urls.
On Mike's site that request is taking ~ 14 seconds for me, which seems to be the culprit of the long loading times.
I haven't been able to replicate this problem with one of my sites, but I believe the adding the viewer to your ViewerSettings.json.js could completely eliminate the problem. How to do this is outlined in section 12.2 of the admin guide. It is a bit to set up but I believe it will help.
The gist of it is to add the global id and the url to the viewer into the ViewerSettings.json.js, my viewer settings looks like the following:
{ "viewerSettings": [ { "id": "test", "url": "http://cpurnell-gel2.latitudeqa.com/Geocortex/Essentials/REST/sites/Offline_Replicas/viewers/Offline_Replicas/virtualdirectory/Resources/Config/Default", "securityUrl": "" } ], "endpoints": [ { "name": "Default", "externalUrl": "/Geocortex/Essentials/REST/viewers/" } ] }
In which I reference my viewer by the following URL: http://cpurnell-gel2.latitudeqa.com/Html5Viewer/index.html?viewer=test
Let me know, if this works for you. If not we can look further into the issue.
0 -
Cory, 0 -
Cory, 0 -
Cory, 0 -
We are using permissions, mainly to see who is using what tool and how often. Also we use their username to gather AD attributes (email, phone number) when running workflows, so all of our sites have permissions enabled. We haven't had any issues with the cached layers causing any problems for us and basemap sliders work fine. 0 -
Are you using SSL? Cory's fix didn't seem to work for me... 0 -
Just to make sure I didn't type in anything wrong, this is what my viewersettings.json.js looks like: 0 -
Hi Mike,
Looks like there is a missing " after "securityURL
0 -
Figures! That seems to have done the trick - it is down to about 4 seconds to open again. Do I need to add all of my sites to this file? Will these ever get over-written by Manager? What will happen with future releases? 0 -
Cory, still having issues. Went to add another site. There is no good documentation, but after trial and error, I discovered it worked when I included both between the {} brackets, and put a comma after the first one. However, my "fast" parcel viewer is now just as slow as it was before - about the same as the 2nd site I added... 0 -
Mike, 0 -
Thanks Nelson, that works better. I'm still curious about your slow site - my heaviest site still loads in about 12 seconds (20 seconds when things were slow and not working). It has about four hundred layers in 5 dynamic services and also 16 cached services. What is in yours? 0 -
I'm having a similar issue. I spoke to a Mac user this morning who waited for about a minute for the site to load (http://maps.rdos.bc.ca/Html5Viewer/?viewer=PublicParcels) but then said the site performed well once loaded. Others have also complained about slow load times. The shortened viewer URLs are in the index.html file (I'm at GE4.5, GVH 2.6). Do I need to also add them to the viewersettings.json.js file as is described above to help speed things up? 0 -
Yes, you need to add them to the viewersettings file to speed things up. Also look at cached aerials and make sure you don't have all of your tiles listed as layers...if you do, remove them under the map services tab. 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
17 Kommentare