atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashutosh Mestry <ames...@hortonworks.com>
Subject Re: Review Request 61940: ATLAS-2090 : UI - Cache busting for static content (css, js)
Date Thu, 07 Sep 2017 20:05:54 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/61940/#review184873
-----------------------------------------------------------




dashboardv2/public/index.html.tpl
Lines 75 (patched)
<https://reviews.apache.org/r/61940/#comment261068>

    Support _require.js_ with _bust_.
    
    ```javascript
    <script data-main="js/main.js?bust=<%- bust %>" src="js/libs/requirejs/require.js?bust=<%-
bust %>"></script>
    ```


- Ashutosh Mestry


On Aug. 28, 2017, 1:22 p.m., keval bhatt wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61940/
> -----------------------------------------------------------
> 
> (Updated Aug. 28, 2017, 1:22 p.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, Madhan Neethiraj, Nixon Rodrigues,
and Sarath Subramanian.
> 
> 
> Bugs: ATLAS-2090
>     https://issues.apache.org/jira/browse/ATLAS-2090
> 
> 
> Repository: atlas
> 
> 
> Description
> -------
> 
> Grunt task is updated to handle Cache busting issue, so now after every successful build
grunt task will add new time as the query string for static content i.e .CSS and .JS
> 
> 
> Diffs
> -----
> 
>   dashboardv2/gruntfile.js 900ee40 
>   dashboardv2/package.json 6068c79 
>   dashboardv2/public/index.html f572049 
>   dashboardv2/public/index.html.tpl PRE-CREATION 
>   dashboardv2/public/js/main.js 63e9abc 
> 
> 
> Diff: https://reviews.apache.org/r/61940/diff/1/
> 
> 
> Testing
> -------
> 
> Build the atlas code and checked the query string for static content i.e.CSS and .JS,
its working as expected.
> 
> 
> Thanks,
> 
> keval bhatt
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message