How to get Apache to serve new css file in Rails development
I finally moved to using a Linux based development server for Rails, via VirtualBox. I'm using a pre-built image that includes Apache and Passenger.
Everything is great, except Apache still tries to serve an older version of css files in development mode. Even restarting the server doesn't work. I've tried clearing the browser cache as well. Since everything worked fine before Apache I'm guessing this is a开发者_如何学JAVAn Apache issue. Do any experts know how to fix this? Any help would be greatly appreciated.
Thanks.
unless you're doing something unnatural (which it doesn't sound like) apache will only server files that are 1) available to it & 2) requested.
have you updated your file that calls/includes the CSS file?
have you tried a different browser? - if only to be "sure"...
精彩评论