Solved, thanks for the help.  More detail:

I was using Firefox 3.0.11 with Firebug.  However, when I wrote
"refresh" above, what I was actually doing was putting the caret in
the address bar and hitting enter.  I mistakenly believed that was a
"hard refresh"...better than the refresh button.  I tested in IE and
it exhibits the same behaviour - I had to actually hit the refresh
button to cause the css to update in the browser.

Put that one in the "time vampire of learning" box  ;)

Thanks!



Mike


On Jul 17, 3:03 am, "Diez B. Roggisch" <[email protected]> wrote:
> El Tea schrieb:
>
>
>
> > I'm sorry to all as I'm certain this is a question that has been
> > covered before, but my searches haven't turned up an answer.  Fairly
> > new quickstarted project (with virtualenv in use).  I made changes to /
> > public/style.css.  I refreshed the browser, no change.  I restarted
> > the server (even though I'm using paster with --reload), no change.  I
> > then *deleted* the file.  No change on browser refresh or server
> > restart.
>
> > I restored the file and changed the name to style2.css and changed the
> > master template to refer to style2.css.  On browser refresh, my
> > changes were there!  I found I could edit style2.css and my changes
> > were reflected with a browser refresh every time.
>
> > I then restarted the server, and shut it down again.  I then renamed
> > style2.css to style.css and updated the master template to match.
> > When I loaded my page, the changes were absent once again.
>
> > My best guess here is that style.css is cached somewhere.  I tried
> > removing the data directory in my project root, but that failed to
> > solve the issue.
>
> > While I have a workaround, I would like to understand the underlying
> > architecture.  What am I missing?
>
> This sounds *very* odd, and I'm pretty sure there is no special-casing
> of certain static files - they all simply get served.
>
> I guess the real culprit is your browser here. Get a developer extension
> of your choice that allows you to clear the browser-cache, and see what
> happens.
>
> diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to