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

不通ドメインはfetchをforce-cacheにする #209

Open
totegamma opened this issue Jun 28, 2023 · 2 comments
Open

不通ドメインはfetchをforce-cacheにする #209

totegamma opened this issue Jun 28, 2023 · 2 comments
Milestone

Comments

@totegamma
Copy link
Owner

消滅した・現在落ちているドメインにアクセスしまくるのはほとんど違法 重いし
最初にドメインをfetchしてダメそうなら以後fetchしないようにする

@totegamma totegamma added this to the Version1 milestone Jun 28, 2023
@totegamma totegamma changed the title 不通ドメインはfetchをブロックする 不通ドメインはfetchをブロックするようにする Jun 28, 2023
@totegamma
Copy link
Owner Author

最初にhostをfetchして、他のリソースと同じようにキャッシュする
戻り値がundefinedってことは落ちてるってこととして扱う

@totegamma
Copy link
Owner Author

#88 があるのでただ強制的にundefinedを返すのではなくて、キャッシュ強制でリクエストがかけれるようにしたほうがいいな...

@totegamma totegamma changed the title 不通ドメインはfetchをブロックするようにする 不通ドメインはfetchをforce-cacheにする Jul 4, 2023
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

1 participant