db2rest icon indicating copy to clipboard operation
db2rest copied to clipboard

Add support for GZIP compression for response

Open kdhrubo opened this issue 2 years ago • 11 comments

https://dev.to/jackynote/supercharge-your-spring-boot-rest-api-with-gzip-compression-1a66

https://howtodoinjava.com/spring-boot/response-gzip-compression/

kdhrubo avatar Feb 03 '24 21:02 kdhrubo

Hi @kdhrubo GE I would like to give it a try. Please let me know if it is ok.

drzeb avatar Mar 18 '24 21:03 drzeb

Yes go ahead and dont forget to star the project :)

kdhrubo avatar Mar 18 '24 21:03 kdhrubo

Hi @kdhrubo GE Do we have some payload for this application?

drzeb avatar Mar 20 '24 22:03 drzeb

What do you mean ?

kdhrubo avatar Mar 20 '24 22:03 kdhrubo

Like some postman collection to hit the end points

drzeb avatar Mar 20 '24 22:03 drzeb

There is no fixed set of endpoints. The endpoints are driven by tables in yr database. So pls create 1-2 tables and follow the documentation on the website

kdhrubo avatar Mar 21 '24 01:03 kdhrubo

@drzeb - is this done?

kdhrubo avatar Mar 24 '24 19:03 kdhrubo

Probably done with the issue, need to test it. I am so sorry got super busy with job. I will devote some time this weekend.

drzeb avatar Mar 29 '24 21:03 drzeb

No worries..take yr time

kdhrubo avatar Mar 29 '24 21:03 kdhrubo

Hello Dhrubo, should i enable compression for every controller or just add the dependencies for this issue?

Praneethct avatar May 11 '24 19:05 Praneethct

See the links above. It's a configuration you need to turn on for entire app.

kdhrubo avatar May 11 '24 19:05 kdhrubo