Quick Install

Get Cachee.ai integrated in under 60 seconds

We've Detected Your Stack

We'll customize your installation for optimal performance

Choose Your Framework

React
Vue
Angular
Node.js
Python
Vanilla JS

NPM Install

For Node.js projects

npm install @cachee/client
const Cachee = require('@cachee/client'); const cache = new Cachee('YOUR_API_KEY'); // Auto-cache everything cache.autoOptimize();

CDN Script

For any web project

<script src="https://cdn.cachee.ai/v1/cachee.min.js"></script>
<script> Cachee.init('YOUR_API_KEY'); Cachee.autoCache(); </script>

CLI Install

One command setup

npx @cachee/cli init
# Follow the interactive setup # We detect your project and configure automatically
< 60
Seconds to Integration

Join 500+ companies already using Cachee.ai

Test API View Dashboard Enterprise
`, angular: `// Install npm install @cachee/angular // app.module.ts import { CacheeModule } from '@cachee/angular'; @NgModule({ imports: [ CacheeModule.forRoot({ apiKey: 'YOUR_API_KEY' }) ] }) export class AppModule { } // Any service import { CacheeService } from '@cachee/angular'; constructor(private cache: CacheeService) {} getData() { return this.cache.get('key', () => this.http.get('/api/data')); }`, node: `// Install npm install @cachee/node // index.js const Cachee = require('@cachee/node'); const cache = new Cachee({ apiKey: 'YOUR_API_KEY' }); // Express middleware app.use(cache.middleware()); // Manual caching app.get('/api/data', async (req, res) => { const data = await cache.wrap('data-key', async () => { return await database.query('SELECT * FROM users'); }, { ttl: 300 }); res.json(data); });`, python: `# Install pip install cachee-ai # app.py from cachee import Cachee cache = Cachee(api_key='YOUR_API_KEY') # Decorator usage @cache.memoize(ttl=300) def expensive_operation(): return compute_heavy_task() # Manual usage data = cache.get_or_set('key', lambda: fetch_data(), ttl=300) # Flask integration from flask import Flask app = Flask(__name__) cache.init_app(app)`, vanilla: ` ` }; // Framework button click handlers document.querySelectorAll('.framework-btn').forEach(btn => { btn.addEventListener('click', function() { document.querySelectorAll('.framework-btn').forEach(b => b.classList.remove('active')); this.classList.add('active'); const framework = this.dataset.framework; const codeSection = document.getElementById('frameworkCode'); const selectedName = document.getElementById('selectedFramework'); const codeContent = document.getElementById('frameworkCodeContent'); selectedName.textContent = this.querySelector('div').textContent; codeContent.textContent = frameworkExamples[framework]; codeSection.style.display = 'block'; codeSection.scrollIntoView({ behavior: 'smooth' }); }); }); // Copy code function function copyCode(btn, code) { navigator.clipboard.writeText(code).then(() => { btn.textContent = 'Copied!'; btn.classList.add('copied'); setTimeout(() => { btn.textContent = 'Copy'; btn.classList.remove('copied'); }, 2000); }); } // Copy framework code function copyFrameworkCode(btn) { const code = document.getElementById('frameworkCodeContent').textContent; navigator.clipboard.writeText(code).then(() => { btn.textContent = 'Copied!'; btn.classList.add('copied'); document.getElementById('successMessage').classList.add('show'); setTimeout(() => { btn.textContent = 'Copy All'; btn.classList.remove('copied'); }, 2000); }); } // Initialize detectStack();