Quote:
Originally Posted by BirdOPrey5
1) How does it affect performance- how are the posts cached? Are only the uncensored versions cached? Are both cached? Does the last one called replace the other- etc... I could see this effectively doubling the load if it isn't implemented right...
|
Only uncensored versions are cached. There are not enough hooks in place (based on my understanding of how the caching is achieved...perhaps I'm wrong though :/ ) to create a cached censored and uncensored version. That would obviously be the ideal solution. Then it could retrieve the cached censored or uncensored version depending on user specific settings. The only solutions to that problem, that I can see, involve modifying the source itself.
Regarding performance, I was wondering about that myself. I'm not sure because I haven't had any feedback from a heavily used forum that tried it and I don't have access to one to try it.
However, a while back I did a simple benchmark of the page load times for a long thread with lots of censored words. The result was ...
0.09227 seconds - With Censor
0.08614 seconds - Without Censor
Which is a 0.00613 second difference. For a short thread with not as much text/stuff to censor the difference was 0.00181 seconds. For things like profile pages, albums, and groups there wasn't a difference in load time.
Quote:
Originally Posted by BirdOPrey5
2) Is this system able to more or less guarantee the uncensored words would never shop up for someone with censorship enabled- including in 3rd party mods like vbAdvanced CMS and the Arcade high scores?
|
There was only one spot in the private message system where there wasn't enough hooks to censor something (PM page titles or something like that...), other than that I think I pretty much covered it all.
Things in 3rd party mods would probably just come across uncensored. A global, fool proof solution, to having censorship controlled as a user based option is going to require rewriting a lot of stuff in vbulletin. It simply wasn't designed with that in mind.