// docs / getting_started / quick_start

Quick Start

Get CacheOps running in three minutes. Install the package, add three lines of config, and ship your app to every platform — cached.

1. Install

npm install cacheops
# or
bun add cacheops

2. Configure

Create cache.config.ts at the root of your project.

import CacheOps, { L1, L2, L3 } from 'cacheops'

export default CacheOps({
  layers: [L1, L2, L3],
  ai: true,
  platforms: ['web', 'ios', 'android'],
})

3. Launch

$ cacheops launch --all

→ web: live (0.4s)
→ ios: live (0.6s)
→ android: live (0.7s)
✓ Cache warm. 14ms avg hit.

// pro_tip

Add --watch to keep L1 hot during development. Your reloads cost milliseconds instead of seconds.