This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(disjunctiveFacetParams): reduce payload size (#912)
* feat(dijunctiveFacetParams): reduce payload size This PR reduces the amount of params sent for each disjunctive facet request. It also reduces `hitsPerPage` from `1` to `0`, allowing us to remove the `attributes*` parameters at the same time. This reduces: * the payload sent by a few bytes * and the response size by a few extra bytes as the previous implem sent back one `objectID` per additional request * feat(disjunctiveFacetParams): add responseFields * Update src/requestBuilder.js * chore: remove trailing whitespaces * feat: remove `responseFields` * feat: update unit tests Co-authored-by: Haroen Viaene <[email protected]>
- Loading branch information
Showing
2 changed files
with
11 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters