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 name of the class extending this trait.
Log name is inferred from name of the class extending this trait.
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/xitrum-framework/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 waste several seconds collecting routes that we don't use.
routes.
routes.reverseMappings is used heavily in URL generation, cache it here
config/xitrum.
config/xitrum.conf
See config/xitrum.properties