Lookup by slug vs ID - The Workload Costs

Just ran some tests. Someone please correct me if I’m wrong.

When setting a page’s type of content:

  1. Using the slug field (discover/mneary) costs 0.3 WU
  2. Using the unique id (discover/1725868206392x791840279691264000) costs 0.015.

The difference is because technically finding a thing by it’s slug is triggering a search. Finding by unique ID is just a lookup which is computationally cheaper.

What’s more, if your page’s thing has a slug set but you’re using the unique id in the url then Bubble will default to using a slug and incur the search workload cost.

1 Like

Sounds like a bug, whether using slug or uid the WU cost should be same.