HTTP ETag or Last-Modified headers


#1

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.


#2

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.


#3

Yes, that’s what I ended up doing.