N Docs
← Back to site

Speed and caching

2 min readUpdated November 23, 2026

Short links have to be fast: every extra moment is a visitor who might give up. Nahnu Links answers clicks on Bunny’s network, close to each visitor, and keeps recently used links in memory so most clicks never wait for the database.

The edge script keeps links it has answered recently in memory, at each Bunny location:

  • A link clicked in the last 5 minutes is answered straight from memory, with no wait for the database.
  • Once a remembered link is 30 seconds old, it’s read again from the database after the visitor is redirected, so the next visitor gets the fresh version.
  • The first click on a link at a location waits for one quick database read. The link and its rules arrive together in one trip.
  • Endings that don’t exist are remembered for 10 seconds too, so scanners trying random addresses don’t load the database.
  • Clicks are saved after the visitor is redirected, so recording them never slows a click down.
  • A remembered link keeps redirecting even if the database can’t be reached for a moment.

The change shows at once at the location your site talks to, and elsewhere within about 30 seconds. A link nobody clicked for a while can send one visitor per location to its old destination, up to 5 minutes after the change. Pausing or deleting a link follows the same timing.

To make a change show everywhere at once, use Refresh edge caches under Settings > Debug.

Click limits stay exact#

Links with a click limit are kept in memory too while they are far from the limit; within 100 clicks of it, every click is checked live so the limit stays exact.

Browsers don’t cache redirects#

Every redirect tells browsers not to keep it, even 301s. That way every click reaches the edge script, so clicks are counted and changes apply to everyone. See 301 or 302 redirects.

What adds time#

OptionExtra time
Plain redirectNone
Retargeting pixelsUp to about 1.5 seconds on a short page
PasswordThe time to type it
Deep links on iPhone without the appAbout 2 seconds before the website
CloakingThe first visitor at a location may wait up to 2.5 seconds while the destination is checked