Add simple ESI support on fragments
Add internal redirect for fragments
Add internal redirect function