docs: add cache to comparison document + pricing fixes (#13812)
This commit is contained in:
@@ -11,8 +11,8 @@ const HomepageLinksSection = () => {
|
|||||||
text: "Create your first application",
|
text: "Create your first application",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
href: "/learn/customization/custom-features/module",
|
href: "https://docs.medusajs.com/cloud/sign-up",
|
||||||
text: "Build a Module",
|
text: "Deploy to Medusa Cloud",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
href: "https://docs.medusajs.com/resources/integrations",
|
href: "https://docs.medusajs.com/resources/integrations",
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ However, before choosing self-hosting, it's important to understand the challeng
|
|||||||
Requires manual optimization and monitoring to ensure optimal performance.
|
Requires manual optimization and monitoring to ensure optimal performance.
|
||||||
</Table.Cell>
|
</Table.Cell>
|
||||||
<Table.Cell>
|
<Table.Cell>
|
||||||
Provides continuous performance monitoring and optimization.
|
Provides continuous performance monitoring and optimization, with built-in cacheing support.
|
||||||
</Table.Cell>
|
</Table.Cell>
|
||||||
</Table.Row>
|
</Table.Row>
|
||||||
<Table.Row>
|
<Table.Row>
|
||||||
@@ -246,7 +246,7 @@ If not optimized correctly, your application may experience slow response times,
|
|||||||
|
|
||||||
### Cloud: Continuous Performance Monitoring
|
### Cloud: Continuous Performance Monitoring
|
||||||
|
|
||||||
Medusa provides continuous performance monitoring and optimization on **Cloud**. Medusa continuously monitors applications to identify performance bottlenecks and build tooling to resolve them.
|
Medusa provides continuous performance monitoring and optimization on **Cloud**. Medusa continuously monitors applications to identify performance bottlenecks and build tooling to resolve them. Medusa also provides a direct [cache](../cache/page.mdx) integration to [improve performance of business-critical APIs](../cache/page.mdx#performance-benchmark-comparisons).
|
||||||
|
|
||||||
Cloud users benefit from these optimizations without any additional effort or configuration, ensuring their applications run smoothly and efficiently.
|
Cloud users benefit from these optimizations without any additional effort or configuration, ensuring their applications run smoothly and efficiently.
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ import {
|
|||||||
Users,
|
Users,
|
||||||
WIP,
|
WIP,
|
||||||
} from "@medusajs/icons"
|
} from "@medusajs/icons"
|
||||||
|
import { config } from "../../../config"
|
||||||
|
|
||||||
const P = MDXComponents.p
|
const P = MDXComponents.p
|
||||||
|
|
||||||
@@ -26,29 +27,39 @@ interface FeatureSectionsProps {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const featureLinks: Record<string, string> = {
|
const featureLinks: Record<string, string> = {
|
||||||
Orders: "https://docs.medusajs.com/commerce-modules/order",
|
orders: "/resources/commerce-modules/order",
|
||||||
Products: "https://docs.medusajs.com/commerce-modules/product",
|
products: "/resources/commerce-modules/product",
|
||||||
"Sales Channels": "https://docs.medusajs.com/commerce-modules/sales-channels",
|
"sales channels": "/resources/commerce-modules/sales-channels",
|
||||||
"Regions & currencies": "https://docs.medusajs.com/commerce-modules/region",
|
"regions & currencies": "/resources/commerce-modules/region",
|
||||||
"GitHub integration":
|
"github integration":
|
||||||
"https://docs.medusajs.com/cloud/projects#2-create-project-from-an-existing-application",
|
"/cloud/projects#2-create-project-from-an-existing-application",
|
||||||
"Push-to-deploy flow":
|
"push-to-deploy flow": "/cloud/deployments#how-are-deployments-created",
|
||||||
"https://docs.medusajs.com/cloud/deployments#how-are-deployments-created",
|
previews: "/cloud/environments/preview",
|
||||||
Previews: "https://docs.medusajs.com/cloud/environments/preview",
|
"auto configuration:":
|
||||||
"Auto configuration:":
|
"/cloud/projects#prerequisite-medusa-application-configurations",
|
||||||
"https://docs.medusajs.com/cloud/projects#prerequisite-medusa-application-configurations",
|
postgres: "/cloud/database",
|
||||||
Postgres: "https://docs.medusajs.com/cloud/database",
|
redis: "/cloud/redis",
|
||||||
Redis: "https://docs.medusajs.com/cloud/redis",
|
s3: "/cloud/s3",
|
||||||
S3: "https://docs.medusajs.com/cloud/s3",
|
"environment variables": "/cloud/environments/environment-variables",
|
||||||
"Environment variables":
|
"data import/export": "/cloud/database#importexport-database-dumps",
|
||||||
"https://docs.medusajs.com/cloud/environments/environment-variables",
|
logs: "/cloud/logs",
|
||||||
"Data import/export":
|
"multiple long-lived environments": "/cloud/environments/long-lived",
|
||||||
"https://docs.medusajs.com/cloud/database#importexport-database-dumps",
|
"long-lived environments (lle)": "/cloud/environments/long-lived",
|
||||||
Logs: "https://docs.medusajs.com/cloud/logs",
|
"preview environments (pe)": "/cloud/environments/preview",
|
||||||
"Multiple Long-Lived Environments":
|
"cloud seats": "/cloud/organizations#view-organization-members",
|
||||||
"https://docs.medusajs.com/cloud/environments/long-lived",
|
"object storage": "/cloud/s3",
|
||||||
"Cloud seats":
|
"database storage": "/cloud/database",
|
||||||
"https://docs.medusajs.com/cloud/organizations#view-organization-members",
|
"key value store": "/cloud/redis",
|
||||||
|
"admin dashboard users": "/user-guide/settings/users",
|
||||||
|
"unlimited deployments": "/cloud/deployments",
|
||||||
|
"traffic load balancing": "/cloud/comparison#auto-scaling",
|
||||||
|
"log retention": "/cloud/logs",
|
||||||
|
"real-time 24/7 monitoring": "/cloud/comparison#high-availability",
|
||||||
|
"zero-downtime deployment": "/cloud/deployments",
|
||||||
|
backups: "/cloud/database#cloud-database-backups",
|
||||||
|
"performance tuning": "/cloud/comparison#performance",
|
||||||
|
"sla-backed uptime": "/cloud/comparison#high-availability",
|
||||||
|
support: "/cloud/comparison#support",
|
||||||
}
|
}
|
||||||
|
|
||||||
const featureIcons: Record<string, React.FC> = {
|
const featureIcons: Record<string, React.FC> = {
|
||||||
@@ -72,9 +83,14 @@ const renderBlockContent = (blocks: Block[]) => {
|
|||||||
return block.children
|
return block.children
|
||||||
.map((child: Span | TooltipBlock) => {
|
.map((child: Span | TooltipBlock) => {
|
||||||
if (child._type === "span") {
|
if (child._type === "span") {
|
||||||
const key = child.text.trim()
|
const key = child.text.trim().toLowerCase()
|
||||||
return featureLinks[key]
|
return featureLinks[key]
|
||||||
? "[" + child.text + "](" + featureLinks[key] + ")"
|
? "[" +
|
||||||
|
child.text +
|
||||||
|
"](" +
|
||||||
|
config.baseUrl +
|
||||||
|
featureLinks[key] +
|
||||||
|
")"
|
||||||
: child.text
|
: child.text
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ const HeroPricing: React.FC<HeroPricingProps> = ({ data }) => {
|
|||||||
"bg-medusa-bg-subtle rounded-br"
|
"bg-medusa-bg-subtle rounded-br"
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div className="w-full">
|
<div className="w-full flex flex-col gap-0.25">
|
||||||
{option.buttons.map((button) => (
|
{option.buttons.map((button) => (
|
||||||
<Link
|
<Link
|
||||||
key={button._key}
|
key={button._key}
|
||||||
@@ -149,9 +149,15 @@ const HeroPricing: React.FC<HeroPricingProps> = ({ data }) => {
|
|||||||
variant={
|
variant={
|
||||||
button.variant === "primary" || button.variant === "dark"
|
button.variant === "primary" || button.variant === "dark"
|
||||||
? "primary"
|
? "primary"
|
||||||
: "secondary"
|
: button.variant === "transparent"
|
||||||
|
? "transparent"
|
||||||
|
: "secondary"
|
||||||
}
|
}
|
||||||
className="w-full txt-compact-xsmall-plus"
|
className={clsx(
|
||||||
|
"w-full txt-compact-xsmall-plus",
|
||||||
|
button.variant === "transparent" &&
|
||||||
|
"text-medusa-fg-subtle"
|
||||||
|
)}
|
||||||
>
|
>
|
||||||
{button.link.label}
|
{button.link.label}
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ export const generatedEditDates = {
|
|||||||
"app/billing/manage/page.mdx": "2025-10-08T14:40:23.629Z",
|
"app/billing/manage/page.mdx": "2025-10-08T14:40:23.629Z",
|
||||||
"app/pricing/page.mdx": "2025-09-05T10:31:59.059Z",
|
"app/pricing/page.mdx": "2025-09-05T10:31:59.059Z",
|
||||||
"app/sign-up/page.mdx": "2025-10-08T14:40:47.993Z",
|
"app/sign-up/page.mdx": "2025-10-08T14:40:47.993Z",
|
||||||
"app/comparison/page.mdx": "2025-09-30T06:17:40.257Z",
|
"app/comparison/page.mdx": "2025-10-22T14:44:01.898Z",
|
||||||
"app/billing/plans/page.mdx": "2025-10-08T14:49:27.009Z",
|
"app/billing/plans/page.mdx": "2025-10-08T14:49:27.009Z",
|
||||||
"app/cache/page.mdx": "2025-10-21T14:27:54.005Z",
|
"app/cache/page.mdx": "2025-10-21T14:27:54.005Z",
|
||||||
"app/deployments/troubleshooting/page.mdx": "2025-10-17T14:44:22.894Z"
|
"app/deployments/troubleshooting/page.mdx": "2025-10-17T14:44:22.894Z"
|
||||||
|
|||||||
Reference in New Issue
Block a user