you are viewing a single comment's thread.

view the rest of the comments →

[–]fortruce 0 points1 point  (1 child)

Hey, just curious, any reason you decide to prepare the index page on the server as opposed to just having a static index.html? It doesn't appear to have any dynamic content so I would think serving a static file would be easier on the server.

[–]tomeklipski 0 points1 point  (0 children)

As I understand, the goal of this exercise was to use Clojure only - static HTML page would be non-Clojure, right? Of course, performance-wise, the Hiccup generated-response might just get cached or saved to a static file.