-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
[Temporary] Disable Netlify CORS Proxy #100
Comments
Workaround: Always use cache busting parameter like Probably, Netlify cache the url with parameter. (So, I can purge cache via We can avoid the cache by cache buster paramter.
|
We have locked https://irodr.netlify.app/ untill fix this issue. Workaround:
|
Current Status. irodr require workaround scripts. |
Summary:
We have used Netlify Edge Function instead of I do not understand that I wrote CORS Proxy as code using Edge Functions. Proxy would have been avoided if possible, but other methods are not very usable. Of couse, You can connect Inoreader API without Proxy using UserScripts.
Disclaimer: Netlify Edge Function has Quota, so CORS Proxy may stop if it determines that usage is too high.
|
At 2023-07-19, We have disabled Netlify CORS Proxy.
It means that user can not fetch ironoreader API by default.
📝 Inoreader API does not support CORS. Instead of It, we have used CORS Proxy.
Workaround
You can use UserScript to connect Inoreader API directly.
What's happened
We have used Netlify's
_redirect
for CORS ProxyHowever, This Proxy cached unknown response.
https://irodr.netlify.app/api/0/subscription/list
The response's
Age
is old, and return old results.Additionaly, this endpoint ignore Authorization` request header and return the cache.
I've tests other API liks
/api/0/user-info
but it works.After I deleted Netlify _redirect, but
https://irodr.netlify.app/api/0/subscription/list
still return unknown response. I tested Cross browser, Cross Device. (curl can not fetch the cache, it related to some header?)I think something strange is happening to Netlify.
📝 I request
https://irodr.netlify.app/api/0/subscription/list?1
and prune the cache.Research
Inoreader API does not return the ETags and Last-Modified.
TODO
_redirect
tonetlify.toml
(Same?)_redirect
does not support local emuratingThe text was updated successfully, but these errors were encountered: