55 - composition
66 - composition-functions
77 - /knowledge-base/guides/composition-functions
8- description : " Compositions are a template for creating composite resources "
8+ description : " Define which resources to create and how "
99---
1010
1111Compositions are a template for creating multiple Kubernetes resources as a
@@ -784,15 +784,15 @@ Function response caching is an alpha feature. Enable it by setting the
784784
785785Crossplane can cache function responses to improve performance by reducing
786786repeated function calls. When enabled, Crossplane caches responses from
787- composition functions that include a Time-To-Live (TTL) value.
787+ composition functions that include a time to live (TTL) value.
788788
789789The cache works by :
790790- Storing function responses on disk based on a hash of the request
791- - Only caching responses with a non-zero TTL
791+ - Only caching responses with a nonzero TTL
792792- Automatically removing expired cache entries
793793- Reusing cached responses for identical requests until they expire
794794
795- This feature is particularly useful for functions that :
795+ This feature helps functions that :
796796- Perform expensive computations or external API calls
797797- Return stable results for the same inputs
798798- Include appropriate TTL values in their responses
@@ -803,6 +803,6 @@ Control the cache behavior with these Crossplane pod arguments:
803803
804804- `--xfn-cache-max-ttl` - Maximum cache duration (default : 24 hours)
805805
806- The cache stores files in the `/cache/xfn/` directory within the Crossplane pod.
806+ The cache stores files in the `/cache/xfn/` directory in the Crossplane pod.
807807For better performance, consider using an in-memory cache by mounting an
808808emptyDir volume with `medium : Memory`.
0 commit comments