Page 1 of 1

svn and stylesheets!

Posted: Tue Jun 17, 2008 4:13 am
by panic!
What does everyone here do about stylesheets, in the way that they are a file everyone is constantly using so versions go out of date really quickly and I find I have to merge manually all the time.

Re: svn and stylesheets!

Posted: Tue Jun 17, 2008 12:38 pm
by Benjamin
Have the designer commit them to SVN?

Re: svn and stylesheets!

Posted: Tue Jun 17, 2008 2:15 pm
by Zoxive
Thats basically what i do, then because i tell the browser to cache them, you need to have it update.

A quick trick i use is to just change the number after the v. (Like versions)

Code: Select all

<link rel="stylesheet" href="/cache/style.css?v=0" type="text/css" />