From: Mike Dvorkin Date: 2006-09-13T04:41:42+09:00 Subject: Re: cgi scripts and external css When in doubt about browser caching you might want to add version parameter to the URL, ie: cgi.head { '' } ... etc. This works for external JavaScript files as well. Mike Dvorkin http://www.rubywizards.com On Sep 12, 2006, at 4:47 AM, William Crawford wrote: > Peter Seidel wrote: >> Sorry, my language was ambiguous. With "both files" I meant the >> script >> and the css file. In fact, all the files are in /cgi-bin/. > > I just put example.rbx and example.css in ~/ruby on my server and it > works. The page has a green background. > > I did have a problem with browser cache, though... I had tried it > before example.css existed, and it was a white background. Making > example.css and refreshing several times didn't fix the problem. I > had > to tell it to do a full page reload (ctrl-click reload) before it > showed > the green background. > > -- > Posted via http://www.ruby-forum.com/. >