Always return a promise
templateResource should not be required
Optimized page is now always a promise