We would like our REST API to generate Last-Modified or ETag headers to let reduce load on the network and server. The slimframework has an http caching component (https://www.slimframework.com/docs/v3/features/caching.html) but I’m not sure how to integrate it UserFrosting.
Would have to read into that component more to figure how integration would go. However you could manually specify all that information in the controller.
Yes, that’s what I ended up doing.