Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: For #3623 and general additions for APQ. #3711

Merged
merged 9 commits into from
Feb 6, 2020

Conversation

abernix
Copy link
Member

@abernix abernix commented Jan 24, 2020

This documents the ttl setting for APQ configuration which was introduced in #3623.
That feature was already shipped but not documented at the time. In order to accommodate the additions necessary, I found it necessary to shuffle some of the content on the page around to make more specific areas within this page for configuration-related details which needed to be expanded upon (greatly). I think moving the initial block of Memcached-based configuration further down the page is warranted on its own, even more so since APQ is enabled out of the box with sensible defaults. That means it doesn't require configuration on the server (only the client) in order to get started, but this large block almost gives the impression that the user should spin up a Memcached cluster in order to reap its benefits!

I still think this page needs some additional adjustments for the CDN sections which are seemingly duplicated on the Caching page which lives alongside this "APQ" page. CDN configuration is certainly somewhat relevant to APQ, but the details seem to be more pertinent on the Caching page. Specifically, the @cacheControl content seems to be repeated almost verbatim on the Caching page.

This PR doesn't attempt to resolve that just yet, but focuses on delivering the documentation that makes the APQ configuration details more whole.

This makes room in the hierarchy for the work I'm about to add.
Otherwise, it was difficult to see the actual bullet-points.
…hine.

We don't really demand configuration for this feature, which is enabled by
default.  Still, we have a lot more configuration that needs to be noted,
which can't be done without sacrificing some of the structure of this page
by inflating it with various implementation details that should be
documented, but aren't - YET! (Stand-by for next commit!)
Since the `cache` options themselves are usable on other interfaces within
Apollo Server, these interfaces likely deserve to be documented on another
page eventually, but for now, this works okay and is better than them not
being documented at all.
Specifically, this documents the behavior that was introduced by the
below-referenced PR.

Ref: #3623
This wasn't mentioned before, but seems worth documenting!
abernix and others added 3 commits January 25, 2020 01:03
* Edits to APQ doc improvements

* Update docs/source/performance/apq.md

* Update docs/source/performance/apq.md

Co-authored-by: Jesse Rosenberger <git@jro.cc>
@abernix abernix merged commit 877c300 into master Feb 6, 2020
@abernix abernix deleted the abernix/docs-for-apq-and-specifically-pr-3623 branch February 6, 2020 16:59
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant