lokalise-performance-tuning

Installation
SKILL.md

Lokalise Performance Tuning

Overview

Optimize Lokalise API throughput for translation pipelines by implementing cursor pagination, local caching, batch key operations (500/request), request throttling under the 6 req/s rate limit, and selective language downloads.

Prerequisites

  • @lokalise/node-api SDK v9+ (ESM) or REST API access
  • LOKALISE_API_TOKEN environment variable set
  • Understanding of project size (key count, language count) to calibrate batch sizes
  • Optional: Redis or LRU cache library for persistent caching

Instructions

Step 1: Use Cursor Pagination for Large Datasets

Cursor pagination is significantly faster than offset pagination for projects with 5K+ keys. Offset pagination degrades as page numbers increase because the server must skip rows; cursor pagination uses a pointer.

Installs
1
GitHub Stars
2.8K
First Seen
13 days ago
lokalise-performance-tuning — jeremylongshore/tons-of-skills-marketplace