Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Tired of your first hit taking 30 seconds after a 'git push' deployment? Dokku Prime Cache!
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
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.