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

api: send HTTP 103 with data links to speed up frontend #153

Open
flyingmutant opened this issue Jan 11, 2023 · 0 comments
Open

api: send HTTP 103 with data links to speed up frontend #153

flyingmutant opened this issue Jan 11, 2023 · 0 comments
Labels
A-api Area: statshouse-api A-performance Area: performance A-ui Area: statshouse-ui C-enhancement Category: enhancement of existing functionality

Comments

@flyingmutant
Copy link
Contributor

flyingmutant commented Jan 11, 2023

We already know what data is required (for OpenGraph tag rendering). HTTP 103 will appear in Go 1.20 (golang/go#51914). However, we have to somehow make sure that UI will generate byte-for-byte identical URLs (or setup automatic redirection).

This should work both for regular URLs and for /view?id=123 ones.

@flyingmutant flyingmutant added A-ui Area: statshouse-ui A-api Area: statshouse-api C-enhancement Category: enhancement of existing functionality labels Jan 11, 2023
@flyingmutant flyingmutant added the A-performance Area: performance label Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-api Area: statshouse-api A-performance Area: performance A-ui Area: statshouse-ui C-enhancement Category: enhancement of existing functionality
Projects
None yet
Development

No branches or pull requests

1 participant