Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2021-03-01 06:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?