Add ETag data generation to the avatar service API
Review Request #8566 — Created Dec. 12, 2016 and submitted — Latest diff uploaded
Avatar services can now generate ETag (Entity Tag) data to be used in
generating caching information for the avatars. This will allow pages
that use the avatar to be cached and only retrieved if the avatar
changes.
Tested this with Review Board in /r/8567. Saw that it worked correctly.
Diff Revision 1
This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.
orig
1
2
djblets/avatars/services/base.py |
---|
djblets/avatars/services/file_upload.py |
---|
djblets/avatars/services/gravatar.py |
---|
djblets/avatars/services/url.py |
---|