config cdn_cache 'main'
	option enabled '0'
	option cache_dir '/var/cache/cdn'
	option cache_size '1024'
	option max_object_size '512'
	option cache_valid '1440'
	option listen_port '3128'
	option transparent '0'
	option log_level 'warn'

config cache_policy 'windows_update'
	option enabled '1'
	option name 'Windows Update'
	option domains 'windowsupdate.com download.microsoft.com'
	option extensions 'exe msu cab msi'
	option cache_time '10080'
	option max_size '2048'
	option priority '10'

config cache_policy 'linux_repos'
	option enabled '1'
	option name 'Linux Repositories'
	option domains 'archive.ubuntu.com deb.debian.org mirrors.kernel.org'
	option extensions 'deb rpm pkg.tar.zst'
	option cache_time '4320'
	option max_size '1024'
	option priority '10'

config cache_policy 'android_apps'
	option enabled '1'
	option name 'Android Apps'
	option domains 'play.googleapis.com apk-dl.com'
	option extensions 'apk obb'
	option cache_time '10080'
	option max_size '512'
	option priority '5'

config cache_policy 'steam_games'
	option enabled '0'
	option name 'Steam Games'
	option domains 'steamcontent.com steampowered.com'
	option extensions 'zip pak vpk'
	option cache_time '43200'
	option max_size '10240'
	option priority '1'

config cache_policy 'static_content'
	option enabled '1'
	option name 'Static Web Content'
	option domains '*'
	option extensions 'js css woff woff2 ttf png jpg jpeg gif svg ico webp'
	option cache_time '1440'
	option max_size '50'
	option priority '1'

config exclusion 'bypass_https'
	option enabled '1'
	option name 'HTTPS Banking'
	option domains 'bank paypal stripe'
	option reason 'Security sensitive'

config exclusion 'bypass_streaming'
	option enabled '1'
	option name 'Video Streaming'
	option domains 'netflix.com youtube.com twitch.tv'
	option reason 'Real-time content'

config statistics 'stats'
	option retention_days '30'
	option sample_interval '60'
