<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk Cloud app shows correct version but serves outdated JS from appserver/static in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-Cloud-app-shows-correct-version-but-serves-outdated-JS/m-p/760420#M12123</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi, I’ve bumped the version using the Add‑on Builder. I checked the two most recent versions, and it’s been done correctly - one shows an increment in the build number from the previous version.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Apr 2026 16:45:52 GMT</pubDate>
    <dc:creator>tomapatan</dc:creator>
    <dc:date>2026-04-23T16:45:52Z</dc:date>
    <item>
      <title>Splunk Cloud app shows correct version but serves outdated JS from appserver/static</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-Cloud-app-shows-correct-version-but-serves-outdated-JS/m-p/760355#M12116</link>
      <description>&lt;P&gt;I’ve created a custom Splunk app (TA-custom_scripts) that contains JavaScript and CSS files located at:&lt;BR /&gt;etc/apps/TA-custom_scripts/appserver/static/&lt;/P&gt;&lt;P&gt;I packaged the app using Splunk Add-on Builder, downloaded the resulting .spl file, and uploaded it to Splunk Cloud.&lt;BR /&gt;The app installs successfully and Splunk Cloud shows the correct app version (v1.0.9), which matches my local development version.&lt;BR /&gt;However, the contents of a JS file I modified are not reflected in Splunk Cloud:&lt;/P&gt;&lt;P&gt;Opening the JS file directly in the browser shows an older version of the file&lt;BR /&gt;The app version reported in Splunk Web is correct (v1.0.9)&lt;BR /&gt;The file path and filename are unchanged&lt;BR /&gt;The updated JS works correctly in my local Splunk instance&lt;/P&gt;&lt;P&gt;What I’ve Verified So Far&lt;/P&gt;&lt;P&gt;Confirmed the app version in Splunk Cloud is v1.0.9&lt;BR /&gt;Confirmed the JS file exists under appserver/static&lt;BR /&gt;Accessed the JS file directly via the browser-the content does not include my latest changes.&lt;BR /&gt;&lt;BR /&gt;I did not restart Splunk Cloud.&lt;/P&gt;&lt;P&gt;Any guidance would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 13:36:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-Cloud-app-shows-correct-version-but-serves-outdated-JS/m-p/760355#M12116</guid>
      <dc:creator>tomapatan</dc:creator>
      <dc:date>2026-04-21T13:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Cloud app shows correct version but serves outdated JS from appserver/static</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-Cloud-app-shows-correct-version-but-serves-outdated-JS/m-p/760359#M12117</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249836"&gt;@tomapatan&lt;/a&gt;&amp;nbsp;Do you see any internal warnings or errors related to your custom TA or app? If yes, please share that to understand the potential issue better.&lt;/P&gt;&lt;P&gt;Additionally, you can try disabling and re-enabling the app once to see if the app loads the full context? Please try this from an incognito window to make sure you don't have cache issues.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this post addressed your question, you can:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Give it&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;karma&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to show appreciation&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Mark it as the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;solution&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;if it solved your issue&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":heavy_check_mark:"&gt;✔️&lt;/span&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Add a&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;comment&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;if you’d like more details&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":pencil:"&gt;✏️&lt;/span&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Acknowledging helpful answers keeps the community strong and motivates contributors to continue sharing their expertise.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 17:33:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-Cloud-app-shows-correct-version-but-serves-outdated-JS/m-p/760359#M12117</guid>
      <dc:creator>kknairr</dc:creator>
      <dc:date>2026-04-21T17:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Cloud app shows correct version but serves outdated JS from appserver/static</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-Cloud-app-shows-correct-version-but-serves-outdated-JS/m-p/760361#M12118</link>
      <description>&lt;P&gt;Hi, I can see the contents of the .js file and it does not i&lt;SPAN&gt;nclude my latest changes - so not a caching issue.&lt;BR /&gt;Can`t see any obvious errors giving more context.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 18:35:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-Cloud-app-shows-correct-version-but-serves-outdated-JS/m-p/760361#M12118</guid>
      <dc:creator>tomapatan</dc:creator>
      <dc:date>2026-04-21T18:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Cloud app shows correct version but serves outdated JS from appserver/static</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-Cloud-app-shows-correct-version-but-serves-outdated-JS/m-p/760366#M12119</link>
      <description>&lt;P class="lia-align-left"&gt;If you can do a restart, I would recommend that - I found that after updating an app recently, all worked ok, but the new config UI page for the visualisation was not visible, it showed the old one. A restart was needed.&lt;/P&gt;&lt;P class="lia-align-left"&gt;It's interesting that you can see the old js via the direct url though.&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 00:55:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-Cloud-app-shows-correct-version-but-serves-outdated-JS/m-p/760366#M12119</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2026-04-22T00:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Cloud app shows correct version but serves outdated JS from appserver/static</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-Cloud-app-shows-correct-version-but-serves-outdated-JS/m-p/760376#M12121</link>
      <description>&lt;P&gt;Will try a restart next week - in the meantime I fixed it by creating a new app and copied the files from my previous app - packaged it and deployed it.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 07:59:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-Cloud-app-shows-correct-version-but-serves-outdated-JS/m-p/760376#M12121</guid>
      <dc:creator>tomapatan</dc:creator>
      <dc:date>2026-04-22T07:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Cloud app shows correct version but serves outdated JS from appserver/static</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-Cloud-app-shows-correct-version-but-serves-outdated-JS/m-p/760377#M12122</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249836"&gt;@tomapatan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you increment the 'build' value in your app.conf/[install] stanza? This should trigger a refresh of the static assets.&lt;/P&gt;&lt;P&gt;See&amp;nbsp;&lt;A href="https://help.splunk.com/en/splunk-enterprise/administer/admin-manual/9.4/configuration-file-reference/9.4.0-configuration-file-reference/app.conf#:~:text=performed.%0A*%20Default%3A%20false-,build%20%3D%20%3Cinteger%3E,-*%20Required.%0A*%20Must%20be" target="_blank"&gt;https://help.splunk.com/en/splunk-enterprise/administer/admin-manual/9.4/configuration-file-reference/9.4.0-configuration-file-reference/app.conf#:~:text=performed.%0A*%20Default%3A%20false-,build%20%3D%20%3Cinteger%3E,-*%20Required.%0A*%20Must%20be&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# app.conf
[install]

build = &amp;lt;integer&amp;gt;
* Required.
* Must be a positive integer.
* Increment this whenever you change files in &amp;lt;app_name&amp;gt;/static.
* Every release must change both 'version' and 'build' settings.
* Ensures browsers don't use cached copies of old static files
  in new versions of your app.
* 'build' is a single integer, unlike 'version' which can be a complex string,
  such as 1.5.18.&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 10:07:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-Cloud-app-shows-correct-version-but-serves-outdated-JS/m-p/760377#M12122</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2026-04-22T10:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Cloud app shows correct version but serves outdated JS from appserver/static</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-Cloud-app-shows-correct-version-but-serves-outdated-JS/m-p/760420#M12123</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, I’ve bumped the version using the Add‑on Builder. I checked the two most recent versions, and it’s been done correctly - one shows an increment in the build number from the previous version.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2026 16:45:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-Cloud-app-shows-correct-version-but-serves-outdated-JS/m-p/760420#M12123</guid>
      <dc:creator>tomapatan</dc:creator>
      <dc:date>2026-04-23T16:45:52Z</dc:date>
    </item>
  </channel>
</rss>

