Static textual files are always compressed Dynamic textual responses are only compressed if they are big http://code.
Static textual files are always compressed Dynamic textual responses are only compressed if they are big http://code.google.com/speed/page-speed/docs/payload.html#GzipCompression
Google recommends > 150B-1KB
akka.
akka.actor.ActorSystem("xitrum")
config/application.
config/application.conf
Log name is inferred from the class name.
Log name is inferred from the class name.
true if "xitrum.
true if "xitrum.mode" system property is set to "production" See bin/runner.sh.
Path to the root directory of the current project.
Path to the root directory of the current project. If you're familiar with Rails, this is the same as Rails.root. See https://github.com/ngocdaothanh/xitrum/issues/47
Use lazy to avoid collecting routes if they are not used.
Use lazy to avoid collecting routes if they are not used. Sometimes we want to work in sbt console mode and don't like this overhead.
routes.
routes.reverseMappings is used heavily in URL generation, cache it here
with leading "/"
Avoids returning path with double "//" prefix. Something like //xitrum/postback/zOIc0v... will cause the browser to send request to http://xitrum/postback/zOIc0v...
config/xitrum.
config/xitrum.conf
See config/xitrum.properties