klaviyo-performance-tuning

Featured

Optimize Klaviyo API performance with caching, batching, and pagination tuning. Use when experiencing slow API responses, implementing caching strategies, or optimizing request throughput for Klaviyo integrations. Trigger with phrases like "klaviyo performance", "optimize klaviyo", "klaviyo latency", "klaviyo caching", "klaviyo slow", "klaviyo batch".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Klaviyo Performance Tuning ## Overview Optimize Klaviyo API performance with response caching, request batching, cursor-based pagination, sparse fieldsets, and connection pooling. ## Prerequisites - `klaviyo-api` SDK installed - Understanding of Klaviyo's rate limits (75 req/s burst, 700 req/min) - Redis or in-memory cache (optional) ## Klaviyo API Performance Characteristics | Operation | Typical Latency | Max Page Size | |-----------|----------------|---------------| | Get Profile by ID | 50-150ms | N/A | | Get Profiles (list) | 100-300ms | 20 (default), 100 (some endpoints) | | Create Profile | 100-200ms | N/A | | Create Event | 50-100ms | N/A | | Get Segment Profiles | 200-500ms | 20 | | Campaign Operations | 200-500ms | 20 | ## Instructions ### Step 1: Sparse Fieldsets (Reduce Payload Size) Klaviyo supports JSON:API sparse fieldsets -- request only the fields you need. ```typescript // BAD: Fetches all profile fields (20+ attributes) const profiles = await profilesApi.getProfiles(); // GOOD: Only fetch email and firstName (much smaller payload) const profiles = await profilesApi.getProfiles({ fieldsProfile: ['email', 'first_name', 'created'], }); // Note: fieldsProfile uses snake_case field names (API-level names) // Fetch profiles with included list relationships const profilesWithLists = await profilesApi.getProfiles({ fieldsProfile: ['email', 'first_name'], include: ['lists'], fieldsLists: ['name'], }); ``` ### Step 2: Response Caching ```types...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

hubspot-performance-tuning

Optimize HubSpot API performance with caching, batching, and search optimization. Use when experiencing slow API responses, implementing caching strategies, or optimizing request throughput for HubSpot CRM operations. Trigger with phrases like "hubspot performance", "optimize hubspot", "hubspot slow", "hubspot caching", "hubspot batch", "hubspot latency".

2,266 Updated today
jeremylongshore
AI & Automation Featured

salesloft-performance-tuning

Optimize SalesLoft API performance with caching, pagination strategies, and connection pooling. Use when experiencing slow API responses, reducing latency for bulk operations, or optimizing cadence sync throughput. Trigger: "salesloft performance", "optimize salesloft", "salesloft slow", "salesloft caching".

2,266 Updated today
jeremylongshore
AI & Automation Featured

instantly-performance-tuning

Optimize Instantly.ai API performance with caching, batching, and connection pooling. Use when experiencing slow API responses, implementing caching strategies, or optimizing high-volume lead operations. Trigger with phrases like "instantly performance", "instantly slow", "instantly caching", "instantly batch", "optimize instantly api".

2,266 Updated today
jeremylongshore
AI & Automation Featured

apollo-performance-tuning

Optimize Apollo.io API performance. Use when improving API response times, reducing latency, or optimizing bulk operations. Trigger with phrases like "apollo performance", "optimize apollo", "apollo slow", "apollo latency", "speed up apollo".

2,266 Updated today
jeremylongshore
AI & Automation Featured

attio-performance-tuning

Optimize Attio API performance -- caching, batch queries, pagination strategies, connection pooling, and latency reduction. Trigger: "attio performance", "optimize attio", "attio slow", "attio latency", "attio caching", "attio batch requests".

2,266 Updated today
jeremylongshore