Menu icon Foundation
How to reduce size Further ,after inlining

Hi , I am using Foundation for Emails 2 ,and after in-lining the HTML template size came to around 20KB.Is it possible to compress them further to have a size like 4KB. Please suggest,I have kept the code in this pen http://codepen.io/anon/pen/yOWaKx

Please let me know ,if there are any compression techniques or to remove any part of framework in the email template to reduce the size further.

Regards,

Hari.

emailsSizeinliner

Hi , I am using Foundation for Emails 2 ,and after in-lining the HTML template size came to around 20KB.Is it possible to compress them further to have a size like 4KB. Please suggest,I have kept the code in this pen http://codepen.io/anon/pen/yOWaKx

Please let me know ,if there are any compression techniques or to remove any part of framework in the email template to reduce the size further.

Regards,

Hari.

Stacy Oneal 4 months ago

code size in general, inlining code will increase how much memory is used to load your program. This is because there will be multiple copies of the generated code scattered around your program. However, this isn't always true -- if your inlined function was only used once, there's little change, and if the inlined function is very small, you could get a net reduction in code size by removing the function call overhead. Also, the function may be reduced in size by the optimizer that's able to remove code that's not used in the particular inline invocation.