8 Things I Wish I Knew before Hosting WordPress on Heroku
read more
Categories

8 Things I Wish I Knew before Hosting WordPress on Heroku


At the beginning of 2015, I decided to try something new on WP Human — moving the WordPres site to cloud hosting, Heroku. My first new year resolution gone wrong quickly. Besides the limits you find in the official document, I am showing you some of my thoughts on Heroku WordPress hosting.

1. Heroku’s Ephemeral Filesystem

Each dyno(Heroku’s term on its servers) gets its own ephemeral filesystem. When you uploaded an image, the image is stored on one of the dyno only. Worse still, the images will be erased after dyno restart.

Here comes the solution: Use Amazon S3. Brad Touesnard have written an excellent plugin for hooking S3 into WordPress’ media library seamlessly.