Skip to content

Commit

Permalink
Fix Node.js nomenclature (#1002)
Browse files Browse the repository at this point in the history
  • Loading branch information
blittle committed Jun 13, 2023
1 parent 525986c commit 180d717
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/hydrogen/docs/generated/generated_docs_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@
"url": "/docs/api/hydrogen/2023-04/utilities/createstorefrontclient"
}
],
"description": "> Caution:\n> This utility should only be used when deploying Hydrogen to a NodeJS environment. It should *not* be used when deploying Hydrogen to Oxygen.\n\nIf you are deploying Hydrogen to a Node environment, you can use this limited implementation of an in-memory cache. It only supports the `cache-control` header. It does NOT support `age` or `expires` headers. \n\nLearn more about [data fetching in Hydrogen](/docs/custom-storefronts/hydrogen/data-fetching/fetch-data).",
"description": "> Caution:\n> This utility should only be used when deploying Hydrogen to a Node.js environment. It should *not* be used when deploying Hydrogen to Oxygen.\n\nIf you are deploying Hydrogen to a Node.js environment, you can use this limited implementation of an in-memory cache. It only supports the `cache-control` header. It does NOT support `age` or `expires` headers. \n\nLearn more about [data fetching in Hydrogen](/docs/custom-storefronts/hydrogen/data-fetching/fetch-data).",
"type": "utility",
"defaultExample": {
"description": "I am the default example",
Expand Down
4 changes: 2 additions & 2 deletions packages/hydrogen/src/cache/InMemoryCache.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ const data: ReferenceEntityTemplateSchema = {
],

description: `> Caution:
> This utility should only be used when deploying Hydrogen to a NodeJS environment. It should *not* be used when deploying Hydrogen to Oxygen.
> This utility should only be used when deploying Hydrogen to a Node.js environment. It should *not* be used when deploying Hydrogen to Oxygen.
If you are deploying Hydrogen to a Node environment, you can use this limited implementation of an in-memory cache. It only supports the \`cache-control\` header. It does NOT support \`age\` or \`expires\` headers.
If you are deploying Hydrogen to a Node.js environment, you can use this limited implementation of an in-memory cache. It only supports the \`cache-control\` header. It does NOT support \`age\` or \`expires\` headers.
Learn more about [data fetching in Hydrogen](/docs/custom-storefronts/hydrogen/data-fetching/fetch-data).`,
type: 'utility',
Expand Down

0 comments on commit 180d717

Please sign in to comment.