<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Liferay is adding extra strings to my Image urls, how to avoid?</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118368281" />
  <subtitle>Liferay is adding extra strings to my Image urls, how to avoid?</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118368281</id>
  <updated>2026-04-05T18:37:57Z</updated>
  <dc:date>2026-04-05T18:37:57Z</dc:date>
  <entry>
    <title>RE: Liferay is adding extra strings to my Image urls, how to avoid?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118379797" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118379797</id>
    <updated>2020-01-30T10:39:38Z</updated>
    <published>2020-01-30T10:39:38Z</published>
    <summary type="html">What issues do you face regarding caching? Why do you need to get rid of those parameters?&lt;br /&gt;How do you cache the images? CDN? Apache/Nginx/Squid/...?&lt;br /&gt;Maybe the tool allows you to configure the caching parameters in a better way?&lt;br /&gt;I am asking, because I&amp;#39;d like to understand where  your problems lie.&lt;br /&gt;Not that I recommend it, but there are ways to change the links, e.g. you could create a JournalArticleLocalServiceWrapper and &amp;#34;fix&amp;#34; the link there. But I would take a step back first and try to solve the caching issue instead of mangling the links.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-01-30T10:39:38Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay is adding extra strings to my Image urls, how to avoid?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118372073" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118372073</id>
    <updated>2020-01-29T13:50:37Z</updated>
    <published>2020-01-29T13:50:37Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Abhirama sundaram:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;strong&gt;How could I avoid this strings &amp;#34;/d2c59bae-dec9-6d41-0f30-069f75e4619f?t=1578605910684&amp;#34;, I want only this /documents/20126/328532/011420_image1%401x.jpg&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This is creating issues while Caching the images&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;That&amp;#39;s kind of the point...&lt;br /&gt;&lt;br /&gt;The first string is the UUID for the image and is tied to the version of the document.&lt;br /&gt;&lt;br /&gt;The t= parameter is the timestamp when the image was modified.Both of these work together to bypass caching layers when the image was updated. &lt;br /&gt;&lt;br /&gt;Without them, sure your URL will be shorter, but as you publish a new image browsers won&amp;#39;t know they have a stale image and will continue to use the old one.&lt;br /&gt;&lt;br /&gt;Then, you&amp;#39;re going to be dealing with complaints about broken sites, etc., and you&amp;#39;ll be back here asking how to change the cache headers to prevent caching or some such nonsense.&lt;br /&gt;&lt;br /&gt;The moral of the story here is that you really don&amp;#39;t know more than Liferay. The scenario, as it is, well you might not like it but it is the optimal one that allows for caching to work as long as a new version has not been published. When it has been published, Liferay generates the new URL to correctly get the updated version around any caching between the server and the browser.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2020-01-29T13:50:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay is adding extra strings to my Image urls, how to avoid?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118368951" />
    <author>
      <name>Mohammed Yasin</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118368951</id>
    <updated>2020-01-29T11:42:58Z</updated>
    <published>2020-01-29T11:42:58Z</published>
    <summary type="html">Hi,&lt;br /&gt;You can try fileShortcut feature in where you can  specify  /documents/shortcutid   for accessing file&lt;br /&gt;&lt;a href="https://portal.liferay.dev/docs/7-1/tutorials/-/knowledge_base/t/creating-file-shortcuts"&gt;https://portal.liferay.dev/docs/7-1/tutorials/-/knowledge_base/t/creating-file-shortcuts&lt;/a&gt;</summary>
    <dc:creator>Mohammed Yasin</dc:creator>
    <dc:date>2020-01-29T11:42:58Z</dc:date>
  </entry>
  <entry>
    <title>Liferay is adding extra strings to my Image urls, how to avoid?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118368280" />
    <author>
      <name>Abhirama sundaram</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118368280</id>
    <updated>2020-01-29T10:39:14Z</updated>
    <published>2020-01-29T10:39:14Z</published>
    <summary type="html">Hi everyone,&lt;br /&gt;I have Author and Remote Live setup in Liferay 7.1,. When I upload an image in the webcontent through a HTML editor field or with Image uploading field, Images gets uploaded successfully and looks fine in Author box but when I push the content to Remote Live,&lt;br /&gt;&lt;br /&gt;The URL of the image is getting added with some string like &amp;#34;adbb35e8-03f2-a50a-f872-b10d99eb8015?t=1578605874455&amp;#34;&lt;br /&gt;&lt;strong&gt;For Example:&lt;/strong&gt;&lt;br /&gt;If the image in Author box is like: &lt;br /&gt;&lt;strong&gt;/documents/20126/328532/011420_image1%401x.jpg&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;After publishing in Remote live boxes it looks like below:&lt;br /&gt;&lt;strong&gt;/documents/20126/328532/011420_image1%401x.jpg/d2c59bae-dec9-6d41-0f30-069f75e4619f?t=1578605910684&lt;br /&gt;&lt;br /&gt;How could I avoid this strings &amp;#34;/d2c59bae-dec9-6d41-0f30-069f75e4619f?t=1578605910684&amp;#34;, I want only this /documents/20126/328532/011420_image1%401x.jpg&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;This is creating issues while Caching the images&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Any guidance will be greatly helpful.&lt;br /&gt;&lt;br /&gt;Thanks.</summary>
    <dc:creator>Abhirama sundaram</dc:creator>
    <dc:date>2020-01-29T10:39:14Z</dc:date>
  </entry>
</feed>
