You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I rarely contribute to company projects of which I'm not a part of, but I've been inspired by what you are going to achieve so I've decided to make a suggestion for a different approach that you may have not thought about, for your consideration.
In the browser you have a way to know if the user has defined language preferences, as such, only in those circumstances does it make sense to send the 1st request as HEAD as to negotiate with the server.
This approach restricts the implementation to only users that do set language preferences and is less wasteful than a full GET request that may or may not have to be resent asking for the preferred languages from those available in the server.
Hope the above helps!
Best regards
André
The text was updated successfully, but these errors were encountered:
andrerferreira
changed the title
Different approach suggestion
Potential improvement suggestion
Mar 7, 2023
andrerferreira
changed the title
Potential improvement suggestion
Different approach suggestion
Mar 7, 2023
Thanks for your suggestion, what we do is trying to reuse the existing architecture in Chromium to resent the request. Also, this introduce a hard dependency, all sites should support the HEAD request.
Hi Victor,
I rarely contribute to company projects of which I'm not a part of, but I've been inspired by what you are going to achieve so I've decided to make a suggestion for a different approach that you may have not thought about, for your consideration.
In the browser you have a way to know if the user has defined language preferences, as such, only in those circumstances does it make sense to send the 1st request as HEAD as to negotiate with the server.
This approach restricts the implementation to only users that do set language preferences and is less wasteful than a full GET request that may or may not have to be resent asking for the preferred languages from those available in the server.
Hope the above helps!
Best regards
André
The text was updated successfully, but these errors were encountered: