Commit 31c7d8b
authored
graphql: Cache GraphQL schema parse results (#7457)
This commit stores parsed GraphQL schemas to the cache, which improves
the performance of GraphQL operations that parse the schema more than once.
Queries are not cached.
Resolves: #5377
Signed-off-by: Rob Myers <[email protected]>1 parent 56c9aa5 commit 31c7d8b
File tree
5 files changed
+1633
-103
lines changed- docs/content
- v1
- plugins/discovery
- topdown
5 files changed
+1633
-103
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
863 | 863 | | |
864 | 864 | | |
865 | 865 | | |
866 | | - | |
| 866 | + | |
867 | 867 | | |
868 | | - | |
| 868 | + | |
| 869 | + | |
869 | 870 | | |
870 | 871 | | |
871 | 872 | | |
872 | 873 | | |
873 | | - | |
| 874 | + | |
874 | 875 | | |
875 | 876 | | |
876 | 877 | | |
| 878 | + | |
877 | 879 | | |
878 | 880 | | |
879 | 881 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1721 | 1721 | | |
1722 | 1722 | | |
1723 | 1723 | | |
1724 | | - | |
1725 | | - | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
1726 | 1727 | | |
1727 | 1728 | | |
1728 | 1729 | | |
| |||
1888 | 1889 | | |
1889 | 1890 | | |
1890 | 1891 | | |
1891 | | - | |
1892 | | - | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
1893 | 1895 | | |
1894 | 1896 | | |
1895 | 1897 | | |
| |||
1906 | 1908 | | |
1907 | 1909 | | |
1908 | 1910 | | |
| 1911 | + | |
1909 | 1912 | | |
1910 | 1913 | | |
1911 | 1914 | | |
| |||
1928 | 1931 | | |
1929 | 1932 | | |
1930 | 1933 | | |
| 1934 | + | |
| 1935 | + | |
1931 | 1936 | | |
1932 | 1937 | | |
1933 | 1938 | | |
| |||
1941 | 1946 | | |
1942 | 1947 | | |
1943 | 1948 | | |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
1944 | 1952 | | |
1945 | 1953 | | |
1946 | 1954 | | |
| |||
0 commit comments