<commit_before>= cached_fragment resource:'welcome', id:'index', key:[!!current_user] do
  .row
    .span12
      .hero-unit
        %h1= configatron.app_name
        %p= _('The app that helps product teams build fantastic apps.')

        - if current_user
          = link_to ideas_path(angle: IdeasController::DEFAULT_ANGLE), class: 'btn btn-primary' do
            = _('Let\'s get cracking')
            &nbsp;
            %i.icon-caret-right
        - else
          = link_to login_omniauth_authorize_path(provider: :google_oauth2), class: 'btn btn-primary' do
            = _('Sign in with your Google account')
            &nbsp;
            %i.icon-caret-right

  .row<commit_msg>Speeds up home page<commit_after>= cached_fragment resource:'welcome', id:'index', v:2, key:[!!current_login] do
  .row
    .span12
      .hero-unit
        %h1= configatron.app_name
        %p= _('The app that helps product teams build fantastic apps.')

        - if current_login
          = link_to ideas_path(angle: IdeasController::DEFAULT_ANGLE), class: 'btn btn-primary' do
            = _('Let\'s get cracking')
            &nbsp;
            %i.icon-caret-right
        - else
          = link_to login_omniauth_authorize_path(provider: :google_oauth2), class: 'btn btn-primary' do
            = _('Sign in with your Google account')
            &nbsp;
            %i.icon-caret-right

  .row
{'fraction_non_alphanumeric': 0.11502516175413371, 'fraction_numerical': 0.006470165348670022, 'mean_word_length': 2.2, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5504453', 'n_tokens_mistral': 437, 'n_tokens_neox': 422, 'n_words': 107}