-
-
Notifications
You must be signed in to change notification settings - Fork 92
Create image URLs using the cache optimized URLs #553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I had to patch the uuid4 method, and achieved that using |
dcdb21c to
d95bb83
Compare
d95bb83 to
7130892
Compare
|
I'm not pretty sure if the way I used to create the scale URLs is fully optimal. I called the |
|
@erral it looks right to me |
|
@erral would you mind adding a short note to our upgrade guide? If you don't have time for it I can also take care of it tomorrow... |
|
Done. |
|
@erral the real implementation returns different URLs with different UUIDs for every single scale as described here: https://github.com/plone/plone.restapi/pull/553/files#diff-772cee6f1ad591450b99fdde08976749 right? The auto-generated response just has the same URL/UUID for all image scales just because of the mock, is that correct? |
|
Yes, that's right. |
|
There is a note on the documentation explaining it: https://github.com/plone/plone.restapi/pull/553/files#diff-c294eb935ad014e7ea890908cbd17e75 |
This fixes #494