-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(http): reduce data transfer when using HTTP caching
This commit reduces the property size in the http transfer cache to reduce the page payload. Before ```html <script id="ng-state" type="application/json"> { "4155228514": { "body": "....", "headers": {}, "status": 200, "statusText": "OK", "url": "http://foo.com/assets/media.json", "responseType": "json" }, } </script> ``` Now ```html <script id="ng-state" type="application/json"> { "4155228514": { "b": "....", "h": {}, "s": 200, "st": "OK", "u": "http://foo.com/assets/media.json", "rt": "json" }, } </script> ```
- Loading branch information
1 parent
47ab069
commit 66ad393
Showing
2 changed files
with
31 additions
and
37 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