move custom docpad headers middleware below static middleware in chain to fix cache-control headers