タグ

2023年1月20日のブックマーク (2件)

  • A difficult decision to set us up for the future

    Sundar sent the following email to Google employees earlier today. Googlers, I have some difficult news to share. We’ve decided to reduce our workforce by approximately 12,000 roles. We’ve already sent a separate email to employees in the US who are affected. In other countries, this process will take longer due to local laws and practices. This will mean saying goodbye to some incredibly talented

    A difficult decision to set us up for the future
    YassLab
    YassLab 2023/01/20
    “I have some difficult news to share. We’ve decided to reduce our workforce by approximately 12,000 roles. / To the Googlers who are leaving us: Thank you for working so hard to help people and businesses everywhere. Your contributions have been invaluable and we are grateful for them.”
  • Rails × Herokuアプリ高速化のためにやった/やりたいこと - Qiita

    実装が比較的楽で、インパクトが大きいものをピックアップ。 Cloudflare (CDN) JSやCSSはCDNに乗せる。他のCDNでも良いが、Cloudflareは無料だから最高。 Cloudinary (画像配信) 画像はCloudinaryで最適化して配信。画像の圧縮、適切なサイズでの配信、Webp対応等全部やってくれる。 クエリ最適化 N+1をなくす。pluckを使う。 turbolinks、rails-ujsを活用する Formのバリデーションなど、積極的にhoge.js.erbを使っていく partialを使いすぎない partialは、保守性可読性とパフォーマンスのトレードオフ。 collectionオプションが使える場合には活用する。 ループの中の処理に気を使う インスタンスを無駄に生成しない、など。 HTMLをgzip圧縮 Herokuだとデフォルトでgzip圧縮してくれ

    Rails × Herokuアプリ高速化のためにやった/やりたいこと - Qiita
    YassLab
    YassLab 2023/01/20
    “HTMLをgzip圧縮: Herokuだとデフォルトでgzip圧縮してくれないので、gemを使って対応。”