Express.js is one of the most popular node.js frameworks for serving websites or building APIs. This article is about how to enable Cross Origin Resource Sharing, also known as CORS. For that we need to set the correct headers in the response, which allow a browser to make use of the data from any domain.
deviantart is a great site for artists, photographers, writers and different craftmen to show their work, mostly through pictures. It’s a quite huge social network for creatives. This leads to deviantart of course having to serve a lot of pictures to their viewers. Continue reading “AJAX loading and pagination done right (deviantart infinite scroll)”