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

Javascript is cache causing calculator to still shows version from 2021/2022 #121

Open
dlouvier opened this issue Jan 31, 2024 · 1 comment

Comments

@dlouvier
Copy link

Hi,

First of all, thank you for the calculator, as a Foreigner, it is relatively easy to use (if you plan bring translation, I'll happy to help with English / Spanish).

I wanted to report, it just happened with a colleague of me, he entered the link and he still saw only available years 2021/2022 (Rok podatkowy), it's the same colleague who originally refereed me to the calculator.

image.

So it turned out, the old script was still cache in his browser :)

I bet the same could had happened to others, so maybe adding some headers in the webserver could force to the client to download the latest version.

I'm sorry I cannot provide much info because it happened in someone else browser but it just happened (lucky I knew the calculator was updated to 2023/2024).

Best regards,

@dlouvier dlouvier changed the title Javascript is cache Javascript is cache causing calculator to still shows version from 2021/2022 Jan 31, 2024
@RacyMind
Copy link
Owner

RacyMind commented Jan 31, 2024

Hello,
nice to hear that foreigners also use my calculator :-) I checked Google translators at some time, and I think it translates the app enough good. I'd like to support other languages, but it's so much work to achieve it.

I know this issue. Unfortunately, the service worker had been broken, and the app wasn't refreshed correctly. I fixed it ~ a year ago, and newer updates should work fine. I don't have possibilities to inform old users about it. I can just hope they'll clear their browser's cache at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants