O'Reilly logo

Haskell Cookbook by Yogesh Sajanikar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Serving static contents in Snap

A website consists of two types of contents, static contents and dynamic contents. The static contents are the HTML files, images, a folders containing these files. These contents do not change per request. The dynamic contents depend upon routeparameters, and request type. The Snap Framework allows us to serve static contents seamlessly with the dynamic contents. In this recipe, we will look at how we can serve static contents with the Snap Framework.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required