Add caching headers on ex gallery thumbs