add 304 not modified functionality for assets/attachments