Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HOLD for payment 2024-08-07] [$500] [Expensify Help] Add cache busting to HelpDot files #28209

Closed
marcochavezf opened this issue Sep 26, 2023 · 56 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.

Comments

@marcochavezf
Copy link
Contributor

marcochavezf commented Sep 26, 2023

We're loading the CSS files in the help site without a cache-busting technique, which causes to not load the recent CSS file:

image (10)
image (9)

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01dffa1ca53efd8c82
  • Upwork Job ID: 1744435293782720512
  • Last Price Increase: 2024-07-13
  • Automatic offers:
    • getusha | Reviewer | 28089289
    • wildan-m | Contributor | 103153018
Issue OwnerCurrent Issue Owner: @zanyrenney
@marcochavezf marcochavezf added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Sep 26, 2023
@marcochavezf marcochavezf self-assigned this Sep 26, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 26, 2023

Triggered auto assignment to @MitchExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Sep 26, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@marcochavezf marcochavezf added Improvement Item broken or needs improvement. and removed Bug Something is broken. Auto assigns a BugZero manager. labels Sep 26, 2023
@rushatgabhane
Copy link
Member

rushatgabhane commented Sep 26, 2023

Proposal

Evict cache on every deploy.

site.time is the time when jekyll command is run. (reference)

So we can use it to "version" our css href="/assets/css/styles.css?v={{ site.time }}"

<link rel="stylesheet" href="/assets/css/styles.css">

What do you think?

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Sep 26, 2023
@roryabraham roryabraham removed the Reviewing Has a PR in review label Oct 5, 2023
@melvin-bot melvin-bot bot added the Overdue label Oct 5, 2023
@roryabraham
Copy link
Contributor

In this thread we are discussing moving from GitHub Pages to Cloudflare Pages, which would provide a mechanism to fix this correctly by cache-busting for all files with something like this

@marcochavezf
Copy link
Contributor Author

Not overdue, update posted above

@melvin-bot melvin-bot bot removed the Overdue label Oct 5, 2023
@melvin-bot melvin-bot bot added the Overdue label Oct 16, 2023
@marcochavezf
Copy link
Contributor Author

Latest update here

@melvin-bot melvin-bot bot removed the Overdue label Oct 16, 2023
@melvin-bot melvin-bot bot added the Overdue label Oct 25, 2023
@marcochavezf
Copy link
Contributor Author

Hi @rushatgabhane @roryabraham, now that we have the help site running on Cloudflare pages, do you know if we still need to set up the cache-busting mechanism there?

@melvin-bot melvin-bot bot removed the Overdue label Oct 25, 2023
@melvin-bot melvin-bot bot added the Overdue label Nov 3, 2023
@roryabraham
Copy link
Contributor

Yes, created a WIP PR: #30877

Just need to know the Cloudflare zone for HelpDot

@melvin-bot melvin-bot bot removed the Overdue label Nov 4, 2023
@MitchExpensify MitchExpensify added the NewFeature Something to build that is a new item. label Jul 16, 2024
Copy link

melvin-bot bot commented Jul 16, 2024

Triggered auto assignment to @zanyrenney (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Jul 16, 2024
Copy link

melvin-bot bot commented Jul 16, 2024

⚠️ It looks like this issue is labelled as a New Feature but not tied to any GitHub Project. Keep in mind that all new features should be tied to GitHub Projects in order to properly track external CAP software time ⚠️

Copy link

melvin-bot bot commented Jul 16, 2024

Triggered auto assignment to Design team member for new feature review - @dannymcclain (NewFeature)

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 17, 2024
Copy link

melvin-bot bot commented Jul 17, 2024

📣 @wildan-m 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 labels Jul 18, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jul 31, 2024
@melvin-bot melvin-bot bot changed the title [$500] [Expensify Help] Add cache busting to HelpDot files [HOLD for payment 2024-08-07] [$500] [Expensify Help] Add cache busting to HelpDot files Jul 31, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 31, 2024
Copy link

melvin-bot bot commented Jul 31, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Jul 31, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.14-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-08-07. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Jul 31, 2024

BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@rushatgabhane] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
  • [@zanyrenney] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.

@zanyrenney zanyrenney added Daily KSv2 and removed Weekly KSv2 labels Aug 7, 2024
@melvin-bot melvin-bot bot added the Overdue label Aug 7, 2024
@zanyrenney
Copy link
Contributor

payment summary

@wildan-m requires payment automatic offer (Contributor) - paid $500 via upwork
@rushatgabhane requires payment through NewDot Manual Requests - paid as part of larger help site project. CLosing!

@melvin-bot melvin-bot bot removed the Overdue label Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.
Projects
None yet
Development

No branches or pull requests

9 participants