Stylesheet

Hello,

I’m assuming that if I specify a CSS file in the layout it will use
that instead of the one in the DB, correct? I just don’t see the
benefit of having the style sheet stored in DB to be quite honest. For
one, it’s one more query, for two fiddling and fine tunning the style
sheet is a heck lot easier with a flat file. IMO.

I’ve found it useful to allow people who don’t have shell accounts to
edit the CSS. But I have seen numbers about the performance diff in
serving up a file vs. a cached DB record and it does slow things down
a bit. (this was for Textpattern: <Particletree » Features
how-to-speed-up-your-textpattern-web-site/>)

-jamie

Quoting “Ruben D. Orduz” [email protected]:

Hello,

I’m assuming that if I specify a CSS file in the layout it will use
that instead of the one in the DB, correct? I just don’t see the
benefit of having the style sheet stored in DB to be quite honest. For
one, it’s one more query, for two fiddling and fine tunning the style
sheet is a heck lot easier with a flat file. IMO.

No problem… it’s your choice. Just store it on the file system if you
prefer.