You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "rzo1 (via GitHub)" <gi...@apache.org> on 2026/04/14 08:44:46 UTC

[I] Cache busting is broken - ${packageTimestamp} is never substituted in HTML resources (storm)

rzo1 opened a new issue, #8518:
URL: https://github.com/apache/storm/issues/8518

   After the dark mode / Bootstrap 5.3.8 rewrite in 6cc4171a3, users can hit a TypeError at topology.html:307 where Mustache.render receives undefined because #topology-summary-template isn't found in the fetched topology-page-template.html. The root cause is a stale main.bundle.js (with old template IDs) being served alongside the new templates, or vice versa.
   
   topology.html:25 references the bundle as:
   
   `<script src="/dist/main.bundle.js?_ts=${packageTimestamp}" ...>`
   
   However, ${packageTimestamp} is never expanded. 
   
   In storm-webapp/pom.xml (lines 143–148), the WEB-INF/**/*.* resource does not have <filtering>true</filtering>, so Maven leaves the placeholder as a literal string. 
   
   This means the "cache-busting" query parameter is actually a constant across deploys, and the browser keeps serving whatever version it already has cached. Additionally, topology-page-template.html and other AJAX-fetched templates have no cache-busting parameter at all.
   
   Workaround is to hard-reload (Cmd/Ctrl+Shift+R) or clear site data for the Storm UI origin.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@storm.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Cache busting is broken - ${packageTimestamp} is never substituted in HTML resources (storm)

Posted by "reiabreu (via GitHub)" <gi...@apache.org>.
reiabreu commented on issue #8518:
URL: https://github.com/apache/storm/issues/8518#issuecomment-4276440848

   @rzo1 by looking at the comments and actions, no action was undertaken for version 2.8.7. Should we remove it from milestone 2.8.7?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@storm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Cache busting is broken - ${packageTimestamp} is never substituted in HTML resources (storm)

Posted by "rzo1 (via GitHub)" <gi...@apache.org>.
rzo1 closed issue #8518: Cache busting is broken - ${packageTimestamp} is never substituted in HTML resources
URL: https://github.com/apache/storm/issues/8518


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@storm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Cache busting is broken - ${packageTimestamp} is never substituted in HTML resources (storm)

Posted by "Gowtham-Gowts (via GitHub)" <gi...@apache.org>.
Gowtham-Gowts commented on issue #8518:
URL: https://github.com/apache/storm/issues/8518#issuecomment-4242570847

   @rzo1 Hard refresh also not worked.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@storm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Cache busting is broken - ${packageTimestamp} is never substituted in HTML resources (storm)

Posted by "rzo1 (via GitHub)" <gi...@apache.org>.
rzo1 commented on issue #8518:
URL: https://github.com/apache/storm/issues/8518#issuecomment-4242738193

   @Gowtham-Gowts The next release (most likely 3.0.0) will fix the broken package timestamp replacement. Since your screenshot does not contain the new light/dark mode toggle, it is definitly a caching issue in your environment.
   
   <img width="1511" height="742" alt="Image" src="https://github.com/user-attachments/assets/c4e22cf1-8a97-425e-986b-5e02ab007c05" />


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@storm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Cache busting is broken - ${packageTimestamp} is never substituted in HTML resources (storm)

Posted by "rzo1 (via GitHub)" <gi...@apache.org>.
rzo1 commented on issue #8518:
URL: https://github.com/apache/storm/issues/8518#issuecomment-4276445360

   @reiabreu https://github.com/apache/storm/commit/fd8db6127c0c374b6bbac8649abd9fcccb8f5853 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@storm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Cache busting is broken - ${packageTimestamp} is never substituted in HTML resources (storm)

Posted by "Gowtham-Gowts (via GitHub)" <gi...@apache.org>.
Gowtham-Gowts commented on issue #8518:
URL: https://github.com/apache/storm/issues/8518#issuecomment-4242568444

   <img width="1919" height="997" alt="Image" src="https://github.com/user-attachments/assets/e8d0ce13-9447-436f-b056-0550fe3ee3fe" />


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@storm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org