1. A method comprising: receiving, from an application running on a computing device, a request for a resource item, the request having one or more associated request conditions; determining, at the computing device and based on a resource index that identifies multiple resource instances of the resource item each having zero or more resource instance conditions, one of the multiple resource instances that satisfy the request conditions; and returning the one resource instance to the application.