We have a ServiceStack 5.8.1 API running in Azure that uses EF Core to run queries against an Azure SQL database that is returning 500,000+ records. Calling the API methods returns a JSON representation of the data down to the client.
The front-end client also running in Azure is an Angular 7.x SPA which is doing HTTP client calls to the API and consuming the returned JSON response.
Is there a way in ServiceStack to enable response compression something like GZIP (not caching - as we want the most recent data on every request) that would send the JSON response back to the Angular client in a compressed format?
If that is possible then we could then look to de-compress the result in the Angular client (if that's possible) so to reduce the amount of data being transferred over the network.