GitHub user abellina opened a pull request:

    https://github.com/apache/storm/pull/1536

    Storm 1890 ensure we refetch static resources after package build

    Original pull request: https://github.com/apache/storm/pull/1486
    
    I added in this PR the no-cache header for html pages in the / directory. 
To recap, this is to add cache-busting to Storm UI.
    
    I also upgraded ring-core to 1.3.1 and compojure to 1.1.9 to match 
ring-core versions without changing too much. Versions above 1.1.9 seem to have 
issues with Clout not compiling for clojure 1.7. We could potentially go to a 
much newer version which fixes the issues (1.4.0), but that should be a 
different PR IMHO, and I am not sure how much we care since this is going away 
on conversion to Java.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/abellina/storm 
STORM-1890_ensure_we_refetch_static_resources_after_package_build

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/storm/pull/1536.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1536
    
----
commit a76eadbdc01b8b484b40b4c8ef74753d2d68ca56
Author: Alessandro Bellina <[email protected]>
Date:   2016-06-14T12:39:45Z

    STORM-1890: ensure static UI resources are re-requested with different 
Storm package builds

commit 42858abe3c2f13b0b6a5f997753d23ee149164ae
Author: Alessandro Bellina <[email protected]>
Date:   2016-06-18T19:04:36Z

    STORM-1890: add temp-file store since wrap-multipart-params for ring 1.3 
needs it

commit 9524679388564aa6c2b7dacf1737c2de8572dc6f
Author: Alessandro Bellina <[email protected]>
Date:   2016-06-18T19:05:27Z

    STORM-1890: add code Cache-Control: no-cache to root html pages (/*.html)

commit 09c76f510a13a1a8f6454fd867f00579622fb488
Author: Alessandro Bellina <[email protected]>
Date:   2016-06-16T16:07:48Z

    STORM-1890: add maven depency to for ring-core 1.3.1, move 
org.apache.commons.FileUtils to 1.3.2 as that is needed by ring-core 1.3.1, 
move compojure to 1.1.9 since it matches 1.3.1

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to