|
|
| Just another Perl shrine | |
| PerlMonks |
Re^6: Perlmonks site has become far too slowby LanX (Saint) |
| on Aug 30, 2025 at 17:38 UTC ( [id://11166143]=note: print w/replies, xml ) | Need Help?? |
|
If you log out, you'll notice that someone, I suppose Corion is experimenting with caching this thread (only?) Try https://www.perlmonks.net/?node_id=11166139 (or whatever domain logs you out) One problem is immanent, it's not enough to disable/delete a single node on update, but the parent chain too, because of the sub-thread view showing replies. (Your and Bliako's reply are missing) Since we are working with multiple servers I'm pessimistic about using the filesystem for caching, I think it's far easier to implement in the database server. FWIW I took a look into the Everything code yesterday, and while it's hard to tell without testing environment (my usual grievance) how it really works, I found that there is a central method getNodebyID which occasionally does caching if called with the according flags. There is a whole Cache class blessed to $DB to handle it. There is also an updateNode method. So in theory this should be easily done, alas only Gods can dev and test especially if the core Everything:: modules are concerned, which can't be patched by pmdevs. Pmdevs like me are reduced to smartass comments here. (I can't even tell if the online versions of Everything:: really show the currently productive code)
UpdateIn hindsight caching of getNodeById won't be sufficient, I don't think it returns already html If you are interested in the gory details please check out the original documentation of Everything, (i.e. before it was heavily patched into Perlmonks)
Cheers Rolf
In Section
Perl Monks Discussion
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||