in reply to Re^4: Perlmonks site has become far too slow
in thread Perlmonks site has become far too slow

> 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 ...

... is a matter of debate.

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
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery