Issue
- Can I remove parameters appended to the image URL?
For example, https://[domain.name]/documents/48742/50327/xyz.jpg/8e72765b-3a49-42a2-ad95-7e262a163b83?t=1484729757000.
I want the image URL to be just: https://[domain.name]/documents/48742/50327/xyz.jpg
Environment
- Liferay DXP 7.0, Liferay DXP 7.1
Resolution
- We do not recommend to remove the parameters because of the following reasons.
1. The first parameter (8e72765b-3a49-42a2-ad95-7e262a163b83) is the UUID of the file entry. The UUID will help retrieve the file in the event of a file rename.
2. The second parameter (t=1484729757000) is the timestamp of the file being modified. This ensures that when a new version is uploaded, the latest content is delivered, no matter whether it was cached or not.
Additional Information
- Please refer to LPS-85654 for more details.