Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

lararocks's avatar

Caching API GET Requests

I have a mobile app that loads data from a mysql database using Laravel APIs.

The app takes longer time than expected to load data.

My question is, what is the best way to cache http requests on Laravel's side so that data gets loaded faster.

Sample API link:

mysitename.com/api/get/posts?category_id=100

Thanks

0 likes
1 reply

Please or to participate in this conversation.