docs: cache revalidation in next.js storefront + storefront totals (#11887)

* initial changes

* generated sidebar
This commit is contained in:
Shahed Nasser
2025-03-18 12:20:09 +02:00
committed by GitHub
parent ff3885500c
commit 2b2b65f5f7
18 changed files with 647 additions and 83 deletions
+4 -1
View File
@@ -6057,5 +6057,8 @@ export const generatedEditDates = {
"references/modules/event/page.mdx": "2025-03-17T15:24:03.021Z",
"references/modules/file_service/page.mdx": "2025-03-17T15:24:03.025Z",
"references/modules/notification_service/page.mdx": "2025-03-17T15:24:05.164Z",
"references/notification_service/interfaces/notification_service.INotificationModuleService/page.mdx": "2025-03-17T15:24:05.173Z"
"references/notification_service/interfaces/notification_service.INotificationModuleService/page.mdx": "2025-03-17T15:24:05.173Z",
"app/nextjs-starter/guides/revalidate-cache/page.mdx": "2025-03-18T08:47:59.628Z",
"app/storefront-development/cart/totals/page.mdx": "2025-03-18T09:20:59.533Z",
"app/storefront-development/checkout/order-confirmation/page.mdx": "2025-03-18T09:44:14.561Z"
}
@@ -891,6 +891,10 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/nextjs-starter/guides/customize-stripe/page.mdx",
"pathname": "/nextjs-starter/guides/customize-stripe"
},
{
"filePath": "/www/apps/resources/app/nextjs-starter/guides/revalidate-cache/page.mdx",
"pathname": "/nextjs-starter/guides/revalidate-cache"
},
{
"filePath": "/www/apps/resources/app/nextjs-starter/page.mdx",
"pathname": "/nextjs-starter"
@@ -1039,6 +1043,10 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/storefront-development/cart/retrieve/page.mdx",
"pathname": "/storefront-development/cart/retrieve"
},
{
"filePath": "/www/apps/resources/app/storefront-development/cart/totals/page.mdx",
"pathname": "/storefront-development/cart/totals"
},
{
"filePath": "/www/apps/resources/app/storefront-development/cart/update/page.mdx",
"pathname": "/storefront-development/cart/update"
@@ -1055,6 +1063,10 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/storefront-development/checkout/email/page.mdx",
"pathname": "/storefront-development/checkout/email"
},
{
"filePath": "/www/apps/resources/app/storefront-development/checkout/order-confirmation/page.mdx",
"pathname": "/storefront-development/checkout/order-confirmation"
},
{
"filePath": "/www/apps/resources/app/storefront-development/checkout/page.mdx",
"pathname": "/storefront-development/checkout"
@@ -1195,6 +1195,14 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
"path": "https://docs.medusajs.com/resources/storefront-development/cart/retrieve",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "ref",
"title": "Show Cart Totals",
"path": "https://docs.medusajs.com/resources/storefront-development/cart/totals",
"children": []
},
{
"loaded": true,
"isPathHref": true,
@@ -5957,6 +5965,14 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
"title": "Implement Express Checkout with Medusa",
"path": "https://docs.medusajs.com/resources/storefront-development/guides/express-checkout",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "ref",
"title": "Order Confirmation in Storefront",
"path": "https://docs.medusajs.com/resources/storefront-development/checkout/order-confirmation",
"children": []
}
]
},
@@ -293,6 +293,14 @@ const generatedgeneratedStorefrontDevelopmentSidebarSidebar = {
"path": "/storefront-development/cart/manage-items",
"title": "Manage Line Items",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/storefront-development/cart/totals",
"title": "Show Totals",
"children": []
}
]
},
@@ -359,6 +367,14 @@ const generatedgeneratedStorefrontDevelopmentSidebarSidebar = {
"path": "/storefront-development/checkout/complete-cart",
"title": "5. Complete Cart",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/storefront-development/checkout/order-confirmation",
"title": "Show Order Confirmation",
"children": []
}
]
},
@@ -756,7 +756,7 @@ const generatedgeneratedToolsSidebarSidebar = {
"loaded": true,
"isPathHref": true,
"type": "category",
"title": "Payment",
"title": "How-to Guides",
"initialOpen": true,
"children": [
{
@@ -766,6 +766,14 @@ const generatedgeneratedToolsSidebarSidebar = {
"path": "/nextjs-starter/guides/customize-stripe",
"title": "Customize Stripe Integration",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/nextjs-starter/guides/revalidate-cache",
"title": "Revalidate Cache",
"children": []
}
]
}