H4: hero in de eerste HTML (regio, preload), gedeeld datablok met contributors (Offerings byte-identiek), ASF golden files, volledige pijplijntest
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,7 @@ using Microsoft.AspNetCore.ResponseCompression;
|
||||
using Microsoft.AspNetCore.Routing;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.DependencyInjection.Extensions;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace SlpModularCms.Core.Hosting.Website;
|
||||
@@ -40,6 +41,9 @@ public static class PrerenderedSiteExtensions
|
||||
services.AddSingleton<HtmlMarkerInjector>();
|
||||
services.AddSingleton<IIndexHtmlCache>(provider => provider.GetRequiredService<HtmlMarkerInjector>());
|
||||
|
||||
// The shared CMS data block of the pages (siteUrl plus what each module contributes).
|
||||
services.TryAddEnumerable(ServiceDescriptor.Scoped<IHtmlPageTransform, CmsDataBlockTransform>());
|
||||
|
||||
// Presence of the marker switches on the full security-header set for website responses.
|
||||
services.AddSingleton<WebsiteHostingMarker>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user