# Mapbox API is slow

**URL:** <https://community.hivepress.io/t/mapbox-api-is-slow/4553>\
**Category:** Geolocation\
**Tags:** geolocation\
**Created:** [February 24, 2023, 9:25am UTC](https://community.hivepress.io/t/mapbox-api-is-slow/4553 "2023-02-24T09:25:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hiro](https://community.hivepress.io/user_avatar/community.hivepress.io/hiro/32/4148_2.png) [@Hiro](https://community.hivepress.io/u/Hiro)\
**Post date:** [February 24, 2023, 9:25am UTC](https://community.hivepress.io/t/mapbox-api-is-slow/4553/1 "2023-02-24T09:25:56Z")

</div>

Hi,  
I saw a similar topic but actually closed, so the point is the Mapbox API is very slow, so I would like to know how to decrase its response time ?  
I actually have the Google Pagespeed insight report, I can send it if its needed.  
Thanks for your help

---

<div class="post-metadata">

**Author:** ![ihor](https://community.hivepress.io/user_avatar/community.hivepress.io/ihor/32/5_2.png) [@ihor](https://community.hivepress.io/u/ihor)\
**Post date:** [February 25, 2023, 8:06pm UTC](https://community.hivepress.io/t/mapbox-api-is-slow/4553/2 "2023-02-25T20:06:40Z")

</div>

If you use a caching or optimization plugin, you can try deferring CSS loaded by Mapbox, since it’s not critical for initial rendering. Deferring its JS script may also help.

---

<div class="post-metadata">

**Author:** ![Hiro](https://community.hivepress.io/user_avatar/community.hivepress.io/hiro/32/4148_2.png) [@Hiro](https://community.hivepress.io/u/Hiro)\
**Post date:** [February 27, 2023, 9:00am UTC](https://community.hivepress.io/t/mapbox-api-is-slow/4553/3 "2023-02-27T09:00:31Z")

</div>

Ok thank you, lets do this 🙂

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [March 29, 2023, 9:01am UTC](https://community.hivepress.io/t/mapbox-api-is-slow/4553/4 "2023-03-29T09:01:00Z")

</div>

Closed on March 29, 2023, 9:01am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
