Skip to content

Commit

Permalink
Document SHA URL of image attachments
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnavy committed Jan 22, 2025
1 parent 87d863a commit 3b5d1b4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/UPGRADING-5.0
Original file line number Diff line number Diff line change
Expand Up @@ -696,4 +696,23 @@ If you previously set a custom C<@SearchResultsPerPage> and you want to keep the

=back

=head1 UPGRADING FROM 5.0.7 AND EARLIER

=over 4

=item Image Attachment URL Unification Using SHA256 Hashing

To address the issue of multiple image attachments pointing to identical
content (particularly with email signature logos), we have implemented a
new approach to generate image URLs based on the SHA256 hash of the image
content. This ensures that images with the same content will always have the
same URL, eliminating redundancy and improving efficiency on both server and
client sides.

New image attachments will have SHA256 calculated automatically. Run the
F<etc/upgrade/upgrade-attachment-image-sha> utility to generate SHA256 for
existing image attachments.

=back

=cut

0 comments on commit 3b5d1b4

Please sign in to comment.