?<number> added to my url's...

Hi All,
I have a rails application up and running. It's working great. The one
thing that bothers me is that when I embed urls in my pages, a lot of
them are suffixed by ?<number>, where number seems to be a timestamp.

E.g.: <a href="/"><img alt="Logo" height="130"
src="/images/logo.png?1163464174" width="355" /></a>

This has been generated by a simple:
link_to(image_tag("/images/logo.png", :size => "355x130") ... )

This happens to a lot of other links, like stylesheet_link_tag,
javascript_include_tag etc. It has never really broken functionality,
but it doesn't look nice.

Any ideas?

Thanks,
Tom

That explains everything!
Thanks,
Tom

mtbguru wrote:

E.g.: <a href="/"><img alt="Logo" height="130"
src="/images/logo.png?1163464174" width="355" /></a>

This happens to a lot of other links, like stylesheet_link_tag,
javascript_include_tag etc. It has never really broken functionality,
but it doesn't look nice.

Any ideas?

Run your site in

    RAILS_ENV=production

mode and see what happens. :wink:

(That's just a wild guess, folks!)