A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
If you want to serve them from a cookie-free domain you can't use access rights for the files.
One approach would be to do a custom url-rewriter and rewrite the paths for static files and switch between, let's say, 5 subdomains and add those as hostheaders to the site.
This way you don't get cookie-free, but a poor mans CDN :)
If you want to serve the files really fast you should serve them as static files straight from IIS and not through a handler.
A common step in optimizing sites is to make sure all static resources (images, css, javascript) are served from a cookieless domain, i.e. a subdomain to the main site which the browser won't send cookies to. I wonder how to set this up using EPiServer? I guess one approach would involve setting up a handler that intercepts all requests to static resources and rewrite them to the subdomain?