| 4 Sep 2021 |
Artturin | I bet most of the pages haven't been updated in the cache since I manually purged almost all of them 10 months ago | 00:17:11 |
Artturin | makefu | 00:17:28 |
Artturin | Not sure who has access to the settings | 00:19:15 |
Artturin | fadenb | 00:20:34 |
Artturin | * Solutions:
Disable the cache
Or purge the cache when a page is edited
Or delete the files in the cache dir hourly | 00:37:03 |
nixos-wiki-rcbot | [[OpenGL]] https://nixos.wiki/wiki/index.php?diff=6224&oldid=6223 * Samuela * (+22) | 02:58:58 |
nixos-wiki-rcbot | [[OpenGL]] https://nixos.wiki/wiki/index.php?diff=6223&oldid=5882 * Samuela * (+107) | 02:58:58 |
nixos-wiki-rcbot | [[Flakes]] https://nixos.wiki/wiki/index.php?diff=6225&oldid=6204 * Artturin * (-155) link to nix-unstable-installer instead of keeping a outdated command | 03:12:59 |
| fakerandom joined the room. | 03:37:03 |
fadenb | In reply to @artturin:matrix.org If a user isn't logged in then the page will be out of date Yes. This is a known "issue" and has been like this since basically forever with mediawiki | 11:00:10 |
fadenb | In addition to mediawiki caching there is for a while now the cloudflare cache on top... | 11:00:53 |
fadenb |  Download image.png | 11:01:10 |
fadenb | Without going into to much detail: Without the mediawiki or some other cache in front the page would go down several times per week due to massive scans hitting it | 11:02:14 |
fadenb | e.g. yesterday someone hit the webserver with the amount of traffic it usually sees within a day over the course of 5 minutes 🤷 | 11:03:44 |
fadenb | The cloudflare stuff could be optimized quite a bit if there were more page rules allowed. The free tier limits it to 3.
There is also some code that should be able to do purges on Cloudflare when a page is updated floating around the mediawiki universe but it did look rather hacky the last time I checked it. | 11:10:24 |
Artturin | Actually it seems that the edited pages are already recached but the page where it's already added isn't
https://nixos.wiki/wiki/Nixpkgs
```{{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=1}}``` | 14:42:59 |
Artturin | * Actually it seems that the edited pages are already recached but the page where it's already added isn't
https://nixos.wiki/wiki/Nixpkgs
```
{{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=1}}
``` | 14:43:08 |
Artturin | * Actually it seems that the edited pages are already recached but the page where it's automatically added isn't
https://nixos.wiki/wiki/Nixpkgs
```
{{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=1}}
``` | 14:45:39 |
Artturin | * Actually it seems that the edited pages are already recached but the page where it's automatically added isn't https://nixos.wiki/wiki/Nixpkgs
{{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=1}}
| 15:17:18 |
fadenb | In reply to @artturin:matrix.org
Actually it seems that the edited pages are already recached but the page where it's automatically added isn't https://nixos.wiki/wiki/Nixpkgs
{{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=1}}
Yup, common mediawiki issue 🤷 Do you by any chance know whether a cache purge is enough or whether more is needed to recalculate those things? | 15:42:15 |
Artturin | i assume a cache purge is enough because then then page will be recached the next time someone visits it | 15:44:26 |
Artturin | all pages can be cached at once with this maintenance script https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:rebuildFileCache.php | 15:44:42 |
Artturin | this can be used to purge the cache https://www.mediawiki.org/wiki/Manual:PurgeList.php | 15:45:20 |
Artturin | php purgeList.php --purge --all | 15:45:56 |
Artturin | * i assume a cache purge is enough because then page will be recached the next time someone visits it | 15:47:12 |
Artturin | fadenb: Could you set a email account for my user so i dont have to use github to log in? https://www.mediawiki.org/wiki/Manual:ResetUserEmail.php https://stackoverflow.com/a/56306364
php maintenance/resetUserEmail.php Artturin artturin@artturin.com
| 18:02:32 |
Artturin | can't do it on the website because i need to have a password to do that | 18:03:35 |
nixos-wiki-rcbot | [[JAX]] N https://nixos.wiki/wiki/index.php?oldid=6226&rc_id=6461 * Samuela * (+2008) Created page with "[https://github.com/google/jax JAX] is a framework for program transformation, esp. for automatic differentiation and machine learning. It's available on Nix/NixOS in the | 18:56:31 |
nixos-wiki-rcbot | [[JAX]] https://nixos.wiki/wiki/index.php?diff=6227&oldid=6226 * Samuela * (+81) | 18:59:31 |
nixos-wiki-rcbot | [[Kubernetes]] https://nixos.wiki/wiki/index.php?diff=6228&oldid=6115 * Nateinaction * (+74) Discovered that port 8888 must be open to pull certs during node join | 19:59:37 |