| 3 Sep 2021 |
nixos-wiki-rcbot | [[Nixpkgs/Reviewing changes]] https://nixos.wiki/wiki/index.php?diff=6221&oldid=6219 * Artturin * (+355) increase memory and disk size | 17:56:16 |
artturin | Manual purging is still needed https://logs.nix.samueldr.com/nixos-wiki/search?q=purge | 23:55:27 |
artturin | If a user isn't logged in then the page will be out of date | 23:56:09 |
nixos-wiki-rcbot | [[Nvidia]] https://nixos.wiki/wiki/index.php?diff=6222&oldid=6124 * Samuela * (+38) /* Install NVIDIA official drivers */ | 23:58:41 |
artturin | I think it also affects the search rankings | 23:59:46 |
| 4 Sep 2021 |
artturin | Related https://techwelkin.com/tips-purging-mediawiki-file-cache-pages | 00:01:59 |
artturin | >>> Remember, MediaWiki caching scheme affects only the anonymous users. Logged in users will get fresh page every time they’ll request one. | 00:02:22 |
artturin | Solutions:
Disable the cache
Or purge the cache when a page is edited | 00:13:50 |
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 |