Minimizing Network Requests

Get resources in one request

Let's say you have a collection page that renders 50 products, each having its own set of related articles. Instead of creating 50 separate requests for this, be sure to pass a coma separated list of IDs within params to fetch all your data in one request.

Note that Relatable will combine resource requests automatically when using data attributes and Mustache templates.