[
https://issues.apache.org/jira/browse/BEAM-12644?focusedWorklogId=660344&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-660344
]
ASF GitHub Bot logged work on BEAM-12644:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 05/Oct/21 14:10
Start Date: 05/Oct/21 14:10
Worklog Time Spent: 10m
Work Description: aromanenko-dev commented on pull request #15653:
URL: https://github.com/apache/beam/pull/15653#issuecomment-934450102
Thanks! I briefly checked with [staged
version](http://apache-beam-website-pull-requests.storage.googleapis.com/15653/index.html)
- seems it works fine - but I'm not a frontend expert , so maybe it will worth
to ask someone who actually is.
@pabloem don't you know by chance to whom we can address it?
Also, @AlikRodriguez, could you take a look on `:rat` tasks that
[fails](https://ci-beam.apache.org/job/beam_PreCommit_RAT_Commit/32033/console)
with this change?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 660344)
Time Spent: 20m (was: 10m)
> JavaScript files are not productionized
> ---------------------------------------
>
> Key: BEAM-12644
> URL: https://issues.apache.org/jira/browse/BEAM-12644
> Project: Beam
> Issue Type: Bug
> Components: website
> Reporter: David Huntsperger
> Assignee: Irwin Alejandro Rodirguez Ramirez
> Priority: P2
> Labels: stale-P2
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The custom JavaScript files for the website are not minified, bundled, or
> productionized in any way. They're served with static names, e.g.
> language-switcher.js. As a result, the browser loads cached versions of the
> files, even after we deploy changes. We should minify and bundle the JS
> files, and then deploy them with a GUID in the filename.
>
> Hugo supports [JavaScript building|https://gohugo.io/hugo-pipes/js/], so that
> might provide a solution.
>
> As an alternative fix, we could see if the config on the Cloud Storage bucket
> can be changed in some way to prevent the aggressive caching. The browser
> seems to reload JS files on the staging server, which could indicate a
> difference in config between the staging bucket and prod bucket.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)