<commit_before># webcachesim:
## A simulator for CDN caching and web caching policies (based on the C++11 standard library)

Simulate a variety of existing caching policies by replaying request traces, and use this framework as a basis to experiment with new ones.

The webcachesim simulator was built during the [AdaptSize project](https://github.com/dasebe/AdaptSize), see [References](##References) for more information.


## Example simulation results

We replay production traffic from a CDN server operated by the [Wikimedia Foundation](https://wikimediafoundation.org/wiki/Home), and consider various modern caching policies.

<img src="https://cloud.githubusercontent.com/assets/9959772/22966302/de4de664-f361-11e6-9345-854bffa2005c.png" width=500px />

## Compiling webcachesim

Auto generate a Makefile using cmake and start compilation as follows.<commit_msg>Fixed anchor in readme.<commit_after># webcachesim:
## A simulator for CDN caching and web caching policies (based on the C++11 standard library)

Simulate a variety of existing caching policies by replaying request traces, and use this framework as a basis to experiment with new ones.

The webcachesim simulator was built for the [AdaptSize project](https://github.com/dasebe/AdaptSize), see [References](#References) for more information.


## Example simulation results

We replay production traffic from a CDN server operated by the [Wikimedia Foundation](https://wikimediafoundation.org/wiki/Home), and consider various modern caching policies.

<img src="https://cloud.githubusercontent.com/assets/9959772/22966302/de4de664-f361-11e6-9345-854bffa2005c.png" width=500px />

## Compiling webcachesim

Auto generate a Makefile using cmake and start compilation as follows.
{'fraction_non_alphanumeric': 0.07903780068728522, 'fraction_numerical': 0.046964490263459335, 'mean_word_length': 5.543071161048689, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, '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': '693960', 'n_tokens_mistral': 536, 'n_tokens_neox': 472, 'n_words': 186}