Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/public/datasets page loads 1.5MB resource synchronously with xhr #154

Open
ansell opened this issue Aug 19, 2019 · 2 comments
Open

/public/datasets page loads 1.5MB resource synchronously with xhr #154

ansell opened this issue Aug 19, 2019 · 2 comments

Comments

@ansell
Copy link
Contributor

ansell commented Aug 19, 2019

The /public/datasets page loads a 1.5MB resource synchronously using xhr:

loadResources("${grailsApplication.config.grails.serverURL}","${grailsApplication.config.biocacheUiURL}");

The resource it is loading is:

https://collections.ala.org.au/public/resources.json

This causes some browsers and some slow internet connections to fail.

In Firefox on MacOS, the warning about using xhr synchronously on the main thread is shown. On IE11 with Citrix (not sure what the underlying OS is), the developer tools are not able to be activated, but it sporadically fails with a message about "script on this page is taking too long".

Refs ticket 38176 on helpdesk

@RobinaSanderson
Copy link

Won't do before migration to the new infrastructure.

@ansell
Copy link
Contributor Author

ansell commented Mar 5, 2020

It would be easier to close these issues rather than leaving them open, as the collectory-plugin won't be used in the new infrastructure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants