aside: I have been having fun testing postgis/geoserver performance (eventually found the problem was old version of postgis pre TWKB).
During testing I was surprised that using "prepared statements" was a small bit slower than using text. I understood that using prepared statements (and simplify
fast ) would engage TWKB and I expected more of an effect.
SELECT "fid",ST_AsTWKB(ST_Simplify(....5% overhead
SELECT "fid",ST_AsTWKB(... is simpify needed before TKWB?
@pvgenuchten did a bit more testing, updated docs here geoserver/geoserver#5124
I am not content and would like a single global common-header.ftl to be used if supplied.