# Stylesheet

**URL:** <https://www.ruby-forum.com/t/stylesheet/78880>\
**Category:** Radiant CMS\
**Created:** [December 9, 2006, 9:12pm UTC](https://www.ruby-forum.com/t/stylesheet/78880 "2006-12-09T21:12:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruben\_DSOrduz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a88e4f/32.png) [@Ruben\_DSOrduz](https://www.ruby-forum.com/u/Ruben_DSOrduz)\
**Post date:** [December 9, 2006, 9:12pm UTC](https://www.ruby-forum.com/t/stylesheet/78880/1 "2006-12-09T21:12:04Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Ruben\_DSOrduz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a88e4f/32.png) [@Ruben\_DSOrduz](https://www.ruby-forum.com/u/Ruben_DSOrduz)\
**Post date:** [December 9, 2006, 9:28pm UTC](https://www.ruby-forum.com/t/stylesheet/78880/2 "2006-12-09T21:28:07Z")

</div>

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](http://particletree.com/features/)  
how-to-speed-up-your-textpattern-web-site/\>)

-jamie

---

<div class="post-metadata">

**Author:** ![Ruben\_DSOrduz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a88e4f/32.png) [@Ruben\_DSOrduz](https://www.ruby-forum.com/u/Ruben_DSOrduz)\
**Post date:** [December 9, 2006, 10:00pm UTC](https://www.ruby-forum.com/t/stylesheet/78880/3 "2006-12-09T22:00:09Z")

</div>

Quoting “Ruben D. Orduz” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> 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.
