|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re^5: Perlmonks site has become far too slow (caching)by LanX (Saint) |
| on Aug 29, 2025 at 18:04 UTC ( [id://11166140]=note: print w/replies, xml ) | Need Help?? |
|
> I'm thinking of measuring the impact of a -f call for every page load. I'm not sure what a -f call means ... (?) > I think converting to static files for (say) SoPW nodes for Anonymous Monk might reduce the load so that the site remains accessible for the human users. This is a brainstorm: From what I see is anonymous monk's only dynamic content for > 99% of the nodes is in the nodelets ( Chatterbox, Other Users, and what else?) and those should be of low priority for AnoMonk. A frontend could check if the user is logged in and if the node-id is lower than the last caching and/or deliver a static file if present. If the caching to a static file is done ...
However, not sure how best to deal with named nodes. I can't tell if the caching should best be done in the file system or in a DB. And if the "frontend" could be in realized in a web-server rule or a patch in Everything.pm (I'm sure I've not covered all edge cases, but wanted at least have it written them down for future reference :)
Cheers Rolf
In Section
Perl Monks Discussion
|
|
||||||||||||||||||||||||||||||