public override void Initialize() { base.Initialize(); Performance.Configuration.OptomizeGlobalCss = GlobalCSS; Performance.Configuration.OptomizeWidgetJs = WidgetJS; Performance.Configuration.OptomizeGlobalJs = GlobalJS; Performance.Configuration.BundleTimeout = new TimeSpan(3, 0, 0); _performanceRendering = new PerformanceRendering(); ThemeConfigurationDatas.Refresh += ThemeConfigurationDatasOnRefresh; BundleConfig.RegisterBundles(BundleTable.Bundles); Telligent.Evolution.Extensibility.Version1.PluginManager.AfterInitialization += PluginManager_AfterInitialization; }
public override void Initialize() { base.Initialize(); Performance.Configuration.OptomizeGlobalCss = GlobalCSS; Performance.Configuration.OptomizeWidgetJs = WidgetJS; Performance.Configuration.OptomizeGlobalJs = GlobalJS; Performance.Configuration.BundleTimeout = new TimeSpan(3,0,0); _performanceRendering = new PerformanceRendering(); ThemeConfigurationDatas.Refresh += ThemeConfigurationDatasOnRefresh; BundleConfig.RegisterBundles(BundleTable.Bundles); Telligent.Evolution.Extensibility.Version1.PluginManager.AfterInitialization += PluginManager_AfterInitialization; }