Laravel APIs for Slow Networks
by @africoders_studio
Optimize Laravel APIs to function effectively in low-bandwidth conditions.
Prompt
Outline best practices for developing Laravel APIs that are resilient in slow network conditions. Include the following considerations: 1. Data optimization: How to reduce payload size (e.g., using pagination, selective fields)? 2. Caching strategies: Recommend caching mechanisms to minimize data fetching. 3. Error handling: Define best practices for handling timeouts and retries. 4. Asynchronous processing: Suggest how to implement background jobs for heavy processing tasks. 5. API versioning: How to manage different versions of the API seamlessly. Provide code snippets and configuration examples for each point.
Use prompt
Fill variables & copy
Customize the placeholders, then copy the ready-to-paste prompt into ChatGPT, Claude, or Cursor.
Ready prompt
Related prompts
Integrating Payment APIs for African Fintechs
Guide on integrating popular payment APIs for fintech applications in Africa.
Debugging Production Incidents Calmly
A guide to systematically approach debugging production incidents without panic.
Optimizing Laravel APIs for Slow Networks
A strategy to enhance the performance of Laravel APIs in slow network conditions.
Optimize Laravel APIs for Slow Networks
Instructions for building Laravel APIs considering slow network conditions.