Developer Tips
Use a server-side proxy
Section titled “Use a server-side proxy”Create a server-side interface that proxies the Slipcase API before sending results to front-end users. This has several advantages:
- Protects your API key from being exposed in client-side code
- Allows local caching to improve end-user performance
- Provides a layer for any custom transformation or filtering
Consider asynchronous processing
Section titled “Consider asynchronous processing”For advanced setups requiring downstream article processing, add articles to a queue for asynchronous processing. This avoids timeouts and keeps your application responsive.
Cache responses locally
Section titled “Cache responses locally”Slipcase employs its own caching mechanism, but you may wish to cache results locally in a database or in-memory caching service.
Rate limiting
Section titled “Rate limiting”The Slipcase API rate limit is set high enough that normal consumption should never trigger it. The limit exists to protect against denial-of-service attacks. Your Slipcase account manager will discuss expected API request usage during integration.