Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by Corion (Patriarch)
on Feb 12, 2004 at 08:57 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://328507]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2024-04-24 16:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found