You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -44095,6 +44095,8 @@ Learn more about the Caching Module in the [Caching Module guide](https://docs.m
44095
44095
44096
44096
In this guide, you'll learn about the Caching Module and its providers.
44097
44097
44098
+
Refer to the [Medusa Cache Cloud](https://docs.medusajs.com/cloud/cache/index.html.md) guide for setting up the Caching Module in Cloud.
44099
+
44098
44100
The Caching Module is available starting [Medusa v2.11.0](https://github.com/medusajs/medusa/releases/tag/v2.11.0). It replaces the deprecated [Cache Module](https://docs.medusajs.com/Users/shahednasser/medusa/www/apps/resources/app/infrastructure-modules/cache/index.html.md).
44099
44101
44100
44102
## What is the Caching Module?
@@ -44117,13 +44119,11 @@ If you're using the Cache Module in your application, refer to the [migrate to t
44117
44119
44118
44120
## Install the Caching Module
44119
44121
44120
-
The Caching Module is installed by default in your application. To use it, enable the caching feature flag and register the module in your `medusa-config.ts` file.
44121
-
44122
-
{/* <Note title="Cloud user?">
44122
+
### Prerequisites
44123
44123
44124
-
Caching features are enabled by default for Cloud users. Learn more in the [Medusa Cache](!cloud!/cache) guide.
44124
+
- [Redis installed and Redis server running](https://redis.io/docs/getting-started/installation/)
44125
44125
44126
-
</Note> */}
44126
+
The Caching Module is installed by default in your application. To use it, enable the caching feature flag and register the module in your `medusa-config.ts` file.
44127
44127
44128
44128
### 1. Enable Caching Feature Flag
44129
44129
@@ -90318,9 +90318,14 @@ You can now create the workflow that syncs the products to Algolia.
90318
90318
To create the workflow, create the file `src/workflows/sync-products.ts` with the following content:
90319
90319
90320
90320
```ts title="src/workflows/sync-products.ts"
90321
-
import { createWorkflow, WorkflowResponse } from "@medusajs/framework/workflows-sdk"
90321
+
import {
90322
+
createWorkflow,
90323
+
transform,
90324
+
WorkflowResponse
90325
+
} from "@medusajs/framework/workflows-sdk"
90322
90326
import { useQueryGraphStep } from "@medusajs/medusa/core-flows"
90323
90327
import { syncProductsStep, SyncProductsStepInput } from "./steps/sync-products"
90328
+
import { ProductStatus } from "@medusajs/framework/utils"
90324
90329
90325
90330
type SyncProductsWorkflowInput = {
90326
90331
filters?: Record<string, unknown>
@@ -90331,6 +90336,14 @@ type SyncProductsWorkflowInput = {
0 commit comments