Add Accept-Encoding (data compression) when pulling in documents #2644
Unanswered
mboelen
asked this question in
Feed issues
Replies: 1 comment 5 replies
-
While I'm generally in favour of an implementation of this, I doubt I'll be making a pull request for it since I don't really have the motivation for such a complex problem. This is mostly because:
It'll be a bunch of checks we need to add to identify what the user system actually supports. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When NextCloud-News pulls in our feed, it does this with a HTTP/1.1 and data encoding active. However, directly after that, it looks to be using a different HTTP client that does NOT provide the Accept-Encoding header (but uses HTTP/2.0), resulting in unneeded bandwidth usage (on both the client as the server).
Also, I'm wondering why it needs to retrieve the pages, instead of pulling the information from the feed itself. Again, it looks to be a waste of resources on both ends and room for improvement making the client a better net citizen.
So my feature request is:
The IP address has been masked with 1.2.3.4, but as you can see it is all the same, in just a matter of a second of time.
Beta Was this translation helpful? Give feedback.
All reactions