Simple two-phase template rendering application useful for caching of authenticated requests