# Ghost Tags API is damn slow (60 secs) with 15000 tags

**URL:** <https://forum.ghost.org/t/ghost-tags-api-is-damn-slow-60-secs-with-15000-tags/14897>\
**Category:** Developer help\
**Created:** [June 5, 2020, 6:29am UTC](https://forum.ghost.org/t/ghost-tags-api-is-damn-slow-60-secs-with-15000-tags/14897 "2020-06-05T06:29:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shubhank008](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/shubhank008/32/8270_2.png) [@shubhank008](https://forum.ghost.org/u/shubhank008)\
**Post date:** [June 5, 2020, 6:29am UTC](https://forum.ghost.org/t/ghost-tags-api-is-damn-slow-60-secs-with-15000-tags/14897/1 "2020-06-05T06:29:32Z")

</div>

If you’re looking for some help, it’s important to provide as much context as possible so that people are able to assist you. Try to always mention:

- What version of Ghost are you using?  
3.17.1

- What configuration?  
8GB Ram, 4CPU server running with 0 traffic and 0 usage  
Ghost blog with 1000 posts, 2 authors and 15000 tags

- What browser?  
All

The Ghost posts API is still fine and loads quick (even though sometimes 2-4 seconds), but the tags API takes like 40-60 seconds (much more likely as nginx times it out by then).  
Why is it so ? I am kind of bummed by this as I always thought the API and query is like wordpress/normal database query where your only limit is your resources, but here my server is never going above 10% of resource usage and TAGS API taking 60 seconds with just 15000 tags ? (each post has 10-15 tags)

My wordpress site has more than 200k tags and it runs smooth, both blog and API.  
I need to make use of {{get}} helper and API for my use but the tags API is justf ailing on me

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [June 5, 2020, 5:25pm UTC](https://forum.ghost.org/t/ghost-tags-api-is-damn-slow-60-secs-with-15000-tags/14897/2 "2020-06-05T17:25:47Z")

</div>

> [@shubhank008](#):
>
> just 15000 tags ? (each post has 10-15 tags)

I think the more important question here is why are you using 15000 tags? If you’re going for extra SEO perks by adding tags to your posts I think you’ve surpassed the ceiling 😅

You also mention the API, are you referring to the handlebars theme layer or are you using the Ghost Content API itself?

---

<div class="post-metadata">

**Author:** ![shubhank008](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/shubhank008/32/8270_2.png) [@shubhank008](https://forum.ghost.org/u/shubhank008)\
**Post date:** [June 6, 2020, 11:37am UTC](https://forum.ghost.org/t/ghost-tags-api-is-damn-slow-60-secs-with-15000-tags/14897/3 "2020-06-06T11:37:47Z")

</div>

The tags are not for SEO but for keyword/tags of the post itself for interlinking purpose to other followup or posts under same category (well tags as category) and for a API/bot script I have created that manages my blog, updating it, etc.

I tried both handlebar {{get}} helper and ghost content API and both were equally dead slow, 40secs+

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [June 8, 2020, 1:57pm UTC](https://forum.ghost.org/t/ghost-tags-api-is-damn-slow-60-secs-with-15000-tags/14897/4 "2020-06-08T13:57:12Z")

</div>

I see. It just seems like a lot of tags, is your site quite large? If you’re willing to share your site I’d be very interested in your setup and whether I can help with performance 🙂
