I love the fast feedback loop of webdevelopment and wantend to have the same experience for developing mobile applications. I finally found a way, which is ultra fast and dead simple to use.
While rewriting the build process for one of my projects with gulp.js, a strange behavior was driving me mad. My rough setup looked something like this:
For one of my projects I’ve built a RESTful JSON API using the awesome laravel framework. This API is used by several single page applications. The most frequently used urls are
GET routes, whose content almost doesn’t change over time. So caching those responses would make sense. My first approach was to cache the responses “inside” laravel and return them later with a controller. This already led to a nice performance boost from around 160ms response time before to 60ms. The main advantage was that the database wasn’t hit anymore but PHP still had to handle each request.
In November 2013 I published an article on Nettuts+ about deploying an application using Capistrano.