<commit_before>{% extends 'layout.html.twig' %}
{% set active2 = slug|default('private') %}

{% block content %}

    <div class="navbar nav-stacked">
        <div class="navbar-inner">
            <div class="container">
                <div class="nav-collapse">
                    <ul class="nav">

                        <li {% if 'private' == active2 %}class="active"{% endif %}><a href="{{ path('reverse_proxy_slug', {'slug': 'private'}) }}">Private</a></li>
                        <li {% if 'public' == active2 %}class="active"{% endif %}><a href="{{ path('reverse_proxy_slug', {'slug': 'public'}) }}">Public</a></li>
                        <li {% if 'nocache' == active2 %}class="active"{% endif %}><a href="{{ path('reverse_proxy_slug', {'slug': 'nocache'}) }}">No Cache</a></li>
                        <li {% if 'private_no_expire' == active2 %}class="active"{% endif %}><a href="{{ path('reverse_proxy_slug', {'slug': 'private_no_expire'}) }}">Private No Expire</a></li>
                        <li {% if 'esi_with_dynamic_box' == active2 %}class="active"{% endif %}><a href="{{ path('reverse_proxy_slug', {'slug': 'esi_with_dynamic_box'}) }}">ESI With Dynamic Box</a></li>
                    </ul>
                </div><!--/.nav-collapse -->
            </div>
        </div>
    </div>

    <div class="label label-important">
        Datetime: {{ datetime }}
    </div>

    <div class="page-header">
        <h2>Request Headers</h2>
    </div>
    <div class="well">
	{{ request_headers|nl2br }}
    </div>

    <div class="page-header">
        <h2>Response Headers</h2>
    </div>
    <div class="well">
	{{ response_headers|nl2br }}
    </div>
{% endblock %}<commit_msg>Adding RFC info to page<commit_after>{% extends 'layout.html.twig' %}
{% set active2 = slug|default('exp-cc-private') %}

{% block content %}

    <div class="navbar nav-stacked">
        <div class="navbar-inner">
            <div class="container">
                <div class="nav-collapse">
                    <ul class="nav">

                        <li {% if 'exp-basic' == active2 %}class="active"{% endif %}><a href="{{ path('reverse_proxy_slug', {'slug': 'exp-basic'}) }}">Expire</a></li>
                        <li {% if 'exp-cc-private' == active2 %}class="active"{% endif %}><a href="{{ path('reverse_proxy_slug', {'slug': 'exp-cc-private'}) }}">Private</a></li>
                        <li {% if 'exp-cc-public' == active2 %}class="active"{% endif %}><a href="{{ path('reverse_proxy_slug', {'slug': 'exp-cc-public'}) }}">Public</a></li>
                        <li {% if 'exp-cc-nocache' == active2 %}class="active"{% endif %}><a href="{{ path('reverse_proxy_slug', {'slug': 'exp-cc-nocache'}) }}">No Cache</a></li>
                        <li {% if 'exp-cc-maxage' == active2 %}class="active"{% endif %}><a href="{{ path('reverse_proxy_slug', {'slug': 'exp-cc-maxage'}) }}">Max Age</a></li>
                        <li {% if 'exp-cc-smaxage' == active2 %}class="active"{% endif %}><a href="{{ path('reverse_proxy_slug', {'slug': 'exp-cc-smaxage'}) }}">Shared Max Age</a></li>
                        <li {% if 'exp-cc-mixed' == active2 %}class="active"{% endif %}><a href="{{ path('reverse_proxy_slug', {'slug': 'exp-cc-mixed'}) }}">Mixing</a></li>
                        <li {% if 'esi_with_dynamic_box' == active2 %}class="active"{% endif %}><a href="{{ path('reverse_proxy_slug', {'slug': 'esi_with_dynamic_box'}) }}">ESI With Dynamic Box</a></li>
                    </ul>
                </div><!--/.nav-collapse -->
            </div>
        </div>
    </div>

    <div class="label label-important">
        Page generated on {{ datetime }}
    </div>

    <div>
	<h2>{{ lesson_title }}</h2>
	{{ lesson|raw|nl2br }}
	<p><a href="{{ lesson_link }}">Read more...</a></p>
    </div>

    <div class="page-header">
        <h2>Response Headers</h2>
    </div>
    <div class="well">
	{{ response_headers|nl2br }}
    </div>

    <div class="page-header">
        <h2>Request Headers</h2>
    </div>
    <div class="well">
	{{ request_headers|nl2br }}
    </div>

{% endblock %}
{'fraction_non_alphanumeric': 0.22941607622770585, 'fraction_numerical': 0.007329587099926704, 'mean_word_length': 2.5141630901287555, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 113, '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': '6425175', 'n_tokens_mistral': 1414, 'n_tokens_neox': 1320, 'n_words': 284}