I would suggest caching only for these UNA files:
location ~* ^(/cache_public/|/plugins_public/|/modules/|/studio/|/template/).+\.(jpg|jpeg|gif|css|png|js|ico|svg)$ {
expires 1M;
access_log off;
add_header Cache-Control "public";
try_files $uri =404;
}