golangci / golangci-lint

Fast linters runner for Go
https://golangci-lint.run
GNU General Public License v3.0
15.82k stars 1.39k forks source link

Website has frequent caching issues #4947

Open SuperSandro2000 opened 3 months ago

SuperSandro2000 commented 3 months ago

Welcome

Description of the problem

Whenever I visit the changelog page from the releases page, I wonder why the changelog for the new version is missing. Sometimes I remember to press F5 and reload the page and then it suddenly appears. I think this is a client side browser caching issue based on wrong cache control header or webworker which only updates the cache on the first visit. I am not really familiar with the inner workings of the website, so I am just guessing.

How to reproduce this:

Version of golangci-lint

not relevant

Configuration

not relevant

Go environment

not relevant

Verbose output of running

not relevant

A minimal reproducible example or link to a public repository

not relevant

Validation

Supporter

boring-cyborg[bot] commented 3 months ago

Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors.

tomarus commented 3 months ago

I kinda have the same issue. Sometimes i notice our CI uses a newer version of golangci-lint that produces some new warnings I don't recognize. So i go to the website to copy the install url and install it, only to notice it hasn't changed on my local machine, until i shift-reload or page and see the actual version number change. Might indeed be a small http header caching issue.

ldez commented 3 months ago

We are aware of the problems, we plan to change our documentation generator because the current system is not maintainable and has a lot of flaws. This is something that we are working on but it takes time.