Edge Functions
This page is returning the date from a SvelteKit page endpoint with edge configuration specified. This means that when deployed to Vercel, this endpoint will be turned into and edge function which enables you to deliver dynamic, personalized content with the lightweight Edge Runtime which is more performant and cost-effective than Serverless Functions. Edge Functions are deployed globally on an Edge Network, and can automatically execute in the region nearest to the user. Learn more about edge functions here.
This page endpoint runs on the edge, and returns the current date and time. Notice each time you refresh the page, the endpoint runs again and the time is updated.
Current Date:
08/05/2024, 20:52:29.657
Svelte logo
Built with SvelteKit