<commit_before>doctype html
html
  head
    title
      = @title || "sellf.org"
    meta name='viewport' content='width=device-width, initial-scale=1.0'
    link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet"
    = stylesheet_link_tag 'application', media: 'all'
    script src="//use.typekit.com/#{ENV['TYPEKIT']}.js" data-cfasync="false"
    = javascript_include_tag 'application'
    = csrf_meta_tags
  body
    = render 'includes/header'
    .container
      - if flash[:notice]
        .alert.alert-info = flash[:notice].html_safe
      - if flash[:error]
        .alert.alert-danger = flash[:error].html_safe

      == yield
    = render 'includes/footer'
  = render 'includes/scripts'<commit_msg>more aggressive caching<commit_after>doctype html
html
  head
    title
      = @title || "sellf.org"
    - cache "head" do
      meta name='viewport' content='width=device-width, initial-scale=1.0'
      link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet"
      = stylesheet_link_tag 'application', media: 'all'
      script src="//use.typekit.com/#{ENV['TYPEKIT']}.js" data-cfasync="false"
      = javascript_include_tag 'application'
    = csrf_meta_tags
  body
    - cache [current_user] do
      = render 'includes/header'
    .container
      - if flash[:notice]
        .alert.alert-info = flash[:notice].html_safe
      - if flash[:error]
        .alert.alert-danger = flash[:error].html_safe

      == yield
    - cache "footer" do
      = render 'includes/footer'
  - cache "scripts" do
    = render 'includes/scripts'
{'fraction_non_alphanumeric': 0.14383137011779293, 'fraction_numerical': 0.006199628022318661, 'mean_word_length': 2.9656019656019654, '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': '3378458', 'n_tokens_mistral': 538, 'n_tokens_neox': 522, 'n_words': 95}