Hi DAZ,

You may want to run in development mode?

In development mode, the stylesheet tag, tweaks the stylesheet name  
different style.css?1242346 - that last number is based upon the mod  
date of the stylesheet . So when you change the sheet, the browser  
requests a different file and you don't have that problmem.

Sometimes when I am working with stylesheets, I make the mods directly  
in my individual page rather than in the main applicaiton file.

in my layout I typically have a

<head>
<title>...
<%= stylesheet_link_tag 'application' %>
<%= yield :header -%>


and on my individual page I'll have:

<% content_for :head do %>
<style>
</style>
<% end -%>


I tweak the css in the individual page until things are what I want.
Then I cut and paste that stuff into the public/stylesheets/ 
application.css file.
[I usually use the application name and not the word 'applicaiton' but  
everyone does things a little differently.]


Hope that helps,
Keenan

On Jan 8, 2009, at 6:13 AM, DAZ <[email protected]> wrote:

>
> I'm having a bit of trouble with CSS files not always displaying the
> most recent styles after I edit the file. The stylesheets seem to be
> being cached on the server side (clearing my browser cache seems to
> make no difference). Is there any way to get the app to use the most
> up to date CSS files?
>
> cheers,
>
> DAZ
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to