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

sloop cat’t work offline #248

Open
akr8s opened this issue Jan 19, 2023 · 3 comments
Open

sloop cat’t work offline #248

akr8s opened this issue Jan 19, 2023 · 3 comments

Comments

@akr8s
Copy link

akr8s commented Jan 19, 2023

My work computer doesn't have access to the Internet, so sloop won't work properly when I access sloop web.

@akr8s
Copy link
Author

akr8s commented Jan 19, 2023

image

@karlskewes
Copy link
Contributor

karlskewes commented Jan 30, 2023

Good call and there are additional reasons we should solve this:

  1. we don't have visibility of clients requests to CDN's so we can't tell if clients requests succeed or fail. We do have http metrics for client requests directly to Sloop.
  2. browsers stopped caching third party resources referenced by multiple sites due to possible privacy (tracking) implications - Chrome Blog. Sloop is single-tenant/k8s-cluster so there may be some caching across Sloop instances (same-site -> subdomain or path prefix based routing). Loss of potential caching speed up is probably offset by metrics (1) and HTTP2 (speed).

We can probably vendor in the various files instead of relying on CDN?
See: index.html

@hoerup
Copy link
Contributor

hoerup commented Jan 30, 2023

Related to #208

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

No branches or pull requests

3 participants