<commit_before><IfModule pagespeed_module>
    # Turn on mod_pagespeed. To completely disable mod_pagespeed, you
    # can set this to "off".
    ModPagespeed <%= configuration[:pagespeed][:enabled] ? "on" : "off" %>

    # We want VHosts to inherit global configuration.
    # If this is not included, they'll be independent (except for inherently
    # global options), at least for backwards compatibility.
    ModPagespeedInheritVHostConfig <%= configuration[:pagespeed][:inherit_vhost_config] ? "on" : "off" %>

    # Direct Apache to send all HTML output to the mod_pagespeed
    # output handler.
    AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html

    # If you want mod_pagespeed process XHTML as well, please uncomment this
    # line.
    # AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER application/xhtml+xml

    # The ModPagespeedFileCachePath directory must exist and be writable
    # by the apache user (as specified by the User directive).
    ModPagespeedFileCachePath            <%= configuration[:pagespeed][:cache_path] %>

    # LogDir is needed to store various logs, including the statistics log
    # required for the console.
    ModPagespeedLogDir <%= configuration[:pagespeed][:log_path] %>

    # If you want, you can use one or more memcached servers as the store for
    # the mod_pagespeed cache.
    # ModPagespeedMemcachedServers localhost:11211

    # A portion of the cache can be kept in memory only, to reduce load on disk
    # (or memcached) from many small files.
    # ModPagespeedCreateSharedMemoryMetadataCache "/var/cache/mod_pagespeed/" 51200<commit_msg>Added support for ModPagespeedMemcachedServers<commit_after><IfModule pagespeed_module>
    # Turn on mod_pagespeed. To completely disable mod_pagespeed, you
    # can set this to "off".
    ModPagespeed <%= configuration[:pagespeed][:enabled] ? "on" : "off" %>

    # We want VHosts to inherit global configuration.
    # If this is not included, they'll be independent (except for inherently
    # global options), at least for backwards compatibility.
    ModPagespeedInheritVHostConfig <%= configuration[:pagespeed][:inherit_vhost_config] ? "on" : "off" %>

    # Direct Apache to send all HTML output to the mod_pagespeed
    # output handler.
    AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html

    # If you want mod_pagespeed process XHTML as well, please uncomment this
    # line.
    # AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER application/xhtml+xml

    # The ModPagespeedFileCachePath directory must exist and be writable
    # by the apache user (as specified by the User directive).
    ModPagespeedFileCachePath            <%= configuration[:pagespeed][:cache_path] %>

    # LogDir is needed to store various logs, including the statistics log
    # required for the console.
    ModPagespeedLogDir <%= configuration[:pagespeed][:log_path] %>

    # If you want, you can use one or more memcached servers as the store for
    # the mod_pagespeed cache.
    # ModPagespeedMemcachedServers localhost:11211

    <% if configuration[:pagespeed][:memcached_servers] %>
    ModPagespeedMemcachedServers <%= configuration[:pagespeed][:memcached_servers] %>
    <% end %>

    # A portion of the cache can be kept in memory only, to reduce load on disk
    # (or memcached) from many small files.
    # ModPagespeedCreateSharedMemoryMetadataCache "/var/cache/mod_pagespeed/" 51200
{'fraction_non_alphanumeric': 0.07562043795620438, 'fraction_numerical': 0.00583941605839416, 'mean_word_length': 4.053097345132743, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3685573', 'n_tokens_mistral': 987, 'n_tokens_neox': 954, 'n_words': 327}