I have a web application build on Spring 4.2.5 and hibernate. We have some api's in that application and response is in JSON. Size of response json is almost around 6mb for which we need to compress the response so that size can be reduced and performance can be improved. Need help in implementing compression mechanism in Spring. Note: We are not using spring boot. Application is on Spring 4.2.5
Asked
Active
Viewed 238 times
0
-
I think it may help you: https://stackoverflow.com/questions/47991007/compress-and-send-large-string-as-spring-http-response/48001798#48001798 – Brooklyn99 Dec 26 '19 at 20:22
-
m looking to compress the json returned from the response body in Spring mvc restcontroller. – Sheeshkamal Vishwakarma Dec 27 '19 at 06:41
-
so you will be doing it in UI? – Brooklyn99 Dec 27 '19 at 17:43
-
No Mobile api will consume. – Sheeshkamal Vishwakarma Jan 08 '20 at 10:48