I'm currently using Breeze.js (version 1.4.1) along with the HotTowel template, and everything is working wonderfully.
However, I was wondering if there is a way to have breeze include in the request sent to get the Metadata a configurable suffix, such as ?v=1.0.0.1
, in a similar fashion to what I'm currently doing with require.js
to bust the local cache during version changes.
This would provide the benefit of having users cache the metadata locally and avoid unnecessary requests for the same unchanged metadata. Even also have server-side caching and avoid the metadata generation altogether when possible.
For the actual WebApi caching I'm currently using WebApi.OutputCache so that would fit in nicely with this.