Introduction This document demonstrates the development of a simple Go package inside a module and introduces the go tool, the standard way to fetch, build, and install Go modules, packages, and commands. Code organization Go programs are organized into packages. A package is a collection of source files in the same directory that are compiled together. Functions, types, variables, and constants d
Heroku Advent Calendar 2014の18日目の記事です。 この記事では、herokuでRailsアプリを運用していくにあたってのノウハウや便利なGem等を紹介します。 herokuでのサイト表示の高速化(配信データのdeflate圧縮)herokuで運用するアプリはWebサーバをチューニングしてページ読み込み負荷を減らすという最適化がなかなか難しいですが、heroku上のRailsアプリであればheroku_rails_deflateというgemを使うことで、Rack::deflaterによるファイルのdeflate圧縮配信をheroku上で実現できます。 gemの組み込みと多少のasset設定(environments/production.rb)をすることで、予め圧縮済みのファイルを配信できるためCPU使用率にも優しいです。 heroku_rails_deflate
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く