AnsweredAssumed Answered

Automatically minify output messages

Question asked by Nicolas Afonso Employee on Dec 11, 2015
Latest reply on Jan 13, 2016 by Nicolas Afonso

Hi folks

 

Today I wanted to know if there is any option in CA API Gateway to automatically minify response messages ? Often our devs build their messages in a "human readable format" (see capture attached), but costly in terms of performance (too many useless bytes transmitted to consumers).

 

I know we can develop a specific global policy which remove these spaces, line breaks, etc in response messages. Maybe some native option already exists.

 

To conclude, dear policy devs, I looking forward your best practices in terms of output message optimization (like compression)

 

Many thanks !

Outcomes