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

Request logger /service/logger/reasons with CORS rather than JSONP #205

Open
ansell opened this issue Oct 14, 2018 · 0 comments
Open

Request logger /service/logger/reasons with CORS rather than JSONP #205

ansell opened this issue Oct 14, 2018 · 0 comments
Labels

Comments

@ansell
Copy link
Contributor

ansell commented Oct 14, 2018

Requests to logger.ala.org.au/service/logger/reasons using JSONP are not using caching, so they are prone to breaking when logger.ala.org.au is struggling. The fix is to rely on CORS and change JSONP requests that currently look like:

https://logger.ala.org.au/service/logger/reasons?callback=jQuery112401583792809409157_1539020441101&_=1539020441102

to simple JSON requests like:

https://logger.ala.org.au/service/logger/reasons

which is cached and is not as prone to disturbance when logger.ala.org.au is struggling.

@ansell ansell added the bug label Oct 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant