Cachebusting for image resources + better environment config