Joined July 2014
·
Posted to
Display error pages content with PJAX
over 1 year
ago
Just had this same problem. Thank you for your solution!
Achievements
9 Karma
0 Total ProTip Views
Charity
Fork and commit to someone's open source project in need
After hours of trying different manual java code solutions and not being satisfied with results (responsive media query handling issues mostly), I stumbled upon https://github.com/mdedetrich/java-premailer-wrapper which works great as a java solution. But you might be better off running your own "premailer" server. While there is a public api to premailer, I wanted to have my own instance running that I can hit as hard as I want:
https://github.com/TrackIF/premailer-server
Easy to run on ec2 with just a few clicks: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Ruby_sinatra.html