fixing various bugs and performance
preparing agora api to be cacheable
adding edge side includes support to prepare for varnish