      (handle-index            http-server-root)
      (handle-figwheel-websocket server-state)
 
+     (wrap-no-cache)
+     (not-modified/wrap-not-modified)
      ;; adding cors to support @font-face which has a strange cors error
      ;; super promiscuous please don't uses figwheel as a production server :)
      (cors/wrap-cors

    #(possible-fn %)
    #(handler %)))

(defn server
  "This is the server. It is complected and its OK. Its trying to be a basic devel server and
   also provides the figwheel websocket connection."

   [ring.util.response :refer [resource-response] :as response]
   [ring.util.mime-type :as mime]
   [ring.middleware.cors :as cors]
   [ring.middleware.not-modified :as not-modified]
   [org.httpkit.server :refer [run-server with-channel on-close on-receive send! open?]]

   [com.stuartsierra.component :as component]))
