protected void Page_Load(object sender, EventArgs e) { PluginBuilder pb = PluginBuilderFactory.newPluginBuilder(Request); ParamsProvider provider = pb.getCustomParamsProvider(); Dictionary <string, string> param = PluginBuilderFactory.getProperties(Request); // Adding - if necessary - CORS headers HttpResponse res = new HttpResponse(this.Response); String origin = this.Request.Headers.Get("origin"); pb.addCorsHeaders(res, origin); CleanCache cleanCache = pb.newCleanCache(); cleanCache.init(provider); string output = cleanCache.getCacheOutput(); Response.ContentType = cleanCache.getContentType(); Response.Write(output); }