Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Re^4: Site HTML filtering, Phase II (way fwd)

by Corion (Pope)
on Feb 12, 2004 at 08:57 UTC ( #328507=note: print w/replies, xml ) Need Help??

in reply to Re^4: Site HTML filtering, Phase II (way fwd)
in thread Site HTML filtering, Phase II

I also came close to proposing that idea, but held back on it, because that way, we lose the option to store a "clean" version in the database.

While the "new way" would be much more flexible, it also requires re-rendering of the format into HTML on each load from the database. I don't know how much of the re-rendering is currently done, so maybe there is no additional hit, and maybe the caching is already aggressive enough to allow this.

  • Comment on Re: Re^4: Site HTML filtering, Phase II (way fwd)

Replies are listed 'Best First'.
Re^6: Site HTML filtering, Phase II (stow cleaned)
by tye (Sage) on Feb 12, 2004 at 09:07 UTC

    Replacing the node 'as typed' in the DB with some cleaned up version would be a mistake in my book. It is very intollerant of coding mistakes or even allowing improvements, and it often isn't nice to the author.

    Caching a cleaned copy in addition to the original is fine (but we don't do it and I doubt it'd be a big win just yet) -- and this is possible with the scheme I proposed.

    - tye        

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://328507]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2021-10-26 23:28 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (91 votes). Check out past polls.