trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luís Antonio Pereira <luis.a.pere...@gmail.com>
Subject Best practices for hit ratio improve
Date Mon, 07 Jul 2014 18:59:42 GMT
Hi all

I would like to improve the performance of my webcache, for example
for example implementing the pining/cache.config:

On records.config:
CONFIG proxy.config.cache.permit.pinning INT 1

On cache.config:
# agressive cache rule
url_regex=\.(js|gif|jpg|jpeg|png|css|ico|bmp|mp3|mp4|avi|mov|swf|flv|pdf)$
scheme=http pin-in-cache=360d
url_regex=\.(js|gif|jpg|jpeg|png|css|ico|bmp|mp3|mp4|avi|mov|swf|flv|pdf)$
scheme=http ttl-in-cache=360d
url_regex=\.(js|gif|jpg|jpeg|png|css|ico|bmp|mp3|mp4|avi|mov|swf|flv|pdf)$
scheme=http revalidate=5m
url_regex=\.(js|gif|jpg|jpeg|png|css|ico|bmp|mp3|mp4|avi|mov|swf|flv|pdf)$
scheme=http action=ignore-no-cache
# facebook rule
url_regex=^http://([a-z][0-9]\.){0,1}(profile|sphotos|photos-[a-z])\.ak\.fbcdn\.net/hp(rofile|hotos)-ak-
scheme=http pin-in-cache=360d
url_regex=^http://([a-z][0-9]\.){0,1}(profile|sphotos|photos-[a-z])\.ak\.fbcdn\.net/hp(rofile|hotos)-ak-
scheme=http ttl-in-cache=360d
url_regex=^http://([a-z][0-9]\.){0,1}(profile|sphotos|photos-[a-z])\.ak\.fbcdn\.net/hp(rofile|hotos)-ak-
scheme=http revalidate=8h
url_regex=^http://([a-z][0-9]\.){0,1}(profile|sphotos|photos-[a-z])\.ak\.fbcdn\.net/hp(rofile|hotos)-ak-
scheme=http action=ignore-no-cache

any sugestions??? another configuration item???

Thank's

Luís Antonio Pereira

Mime
View raw message