Tired of your first hit taking 30 seconds after a 'git push' deployment? Dokku Prime Cache!
Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README
install
pre-release

README

dokku-prime-cache
=================

THIS PLUGIN IS NO LONGER SUPPORTED.  FUNCTIONALITY HAS BEEN BUILT DIRECTLY INTO DOKKU.
See "Zero downtime deploy" here: http://progrium.viewdocs.io/dokku/application-deployment

On your host:

```
cd /var/lib/dokku/plugins
git clone https://github.com/darkpixel/dokku-prime-cache.git
dokku plugins-install
```

The app will look at the PORTS and URL file to determine what docker port to connect to and what host header to use with curl.
If you have a VHOSTS file, it will use that as the host header when submitting the request.

This should speed up the first hit after deploying your app.  Mine was taking ~30 seconds to load on the first hit.