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

Only run $.getJSON once #524

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

dgarciabriseno
Copy link
Contributor

Summary

Fixes #521

Caches soho_psp_json on page load instead of downloading it every time showEncounter is called (which is a lot).

Testing

Enter the browser versions this change was tested on below.

browser version
firefox 115.7
chrome 120.0.6099.234
safari 17.2.1
edge untested

@dgarciabriseno dgarciabriseno merged commit 322f5e5 into Helioviewer-Project:main Jan 26, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

soho_psp_dictionary.json is downloaded a bunch of times
1 participant