Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Conversation

@mxstbr
Copy link
Contributor

@mxstbr mxstbr commented Aug 16, 2018

Status

  • WIP
  • Ready for review
  • Needs testing

Deploy after merge (delete what needn't be deployed)

  • api

This sets Apollo Engine up again and makes it cache public responses in the server memory.This is obviously not optimal as we want the cached result to be returned by all servers, not every server having to cache! Not sure yet what to do about that because they don't support Redis, only memcached...

It also sets up the cache directive for Community.metaData, which should theoretically mean we only recompute that every 30 mins or so.

mxstbr added 3 commits August 16, 2018 10:56
This sets Engine up to cache public responses in the server memory, and
sets up the cache directive for Community.metaData.

This is obviously not optimal as we want the cached result to be
returned by all servers, not every server having to cache! Future TODO
Copy link
Contributor

@brianlovin brianlovin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - seems worth it to have it on alpha for a couple hours today before hitting prod :)

@brianlovin brianlovin merged commit 48348f1 into alpha Aug 16, 2018
@brianlovin brianlovin deleted the apollo-engine-caching-once-again branch August 16, 2018 16:20
@mxstbr
Copy link
Contributor Author

mxstbr commented Aug 16, 2018

Yep sounds good!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants