Support pdf files
Doc
Cookies in templates