1
0
Fork 0
forked from OpenNeo/impress
impress/src
Matchu 6e33132881 Load homepage faster for logged-in users
When building the code to await auth before sending _any_ GraphQL queries, I didn't realize that auth might be kinda slow. So, I've added a hack to let me mark queries with no user-specific data to skip auth, and applied that to the main queries on the homepage.

I think this is a hint that we might want to change our strategy - e.g. to flip it to hackily mark that auth _is_ required, or to create wrappers or option-builder helpers for logged-in queries, etc.

I also notice that SSR would have resolved this particular case...
2021-01-18 07:15:00 -08:00
..
app Load homepage faster for logged-in users 2021-01-18 07:15:00 -08:00
server Add Latest Items section to homepage 2021-01-18 06:31:27 -08:00
index.js inline index.css, omit unused fonts, preload hints 2020-05-18 00:56:46 -07:00