> excess whitespace from the HTML at the traffic layer with middleware
What? Can you expand on this? It sounds like a server rendering issue which has nothing to do with the framework itself.
What? Can you expand on this? It sounds like a server rendering issue which has nothing to do with the framework itself.
I don't have any examples from the past because I no longer work there but when this middleware was turned off for a few days by ommission, homepage would become 2/3 whitespace. DOM would render correctly of course and the user wouldn't notice anything is wrong however if they were to "View Source", they'd realize they just downloaded a bunch of whitespace.
Imagine having 5 kilobytes of "\n" after each HTML element kind of thing.
When it comes to the middleware, it is just parsing and minifying the HTML source, in the form of an Apache Traffic Server plugin/middleware.