Jung-joon Kim
2007-Mar-24 14:40 UTC
image file URL generated by image_tag include some parameter
I''m using image_tag to generate img tag. URL of image file generated by image_tag include a parameter like following. "http:// ..... /images/filename.gif?123123123" What''s this number parameter for? How can I remove it? I''m using rails with built-in WEBrick server in test mode. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Zack Chandler
2007-Mar-24 15:17 UTC
Re: image file URL generated by image_tag include some parameter
It''s a timestamp that is automatically generated by the image_tag() helper. This forces browsers to download the latest image if updated. -- Zack Chandler http://depixelate.com On 3/24/07, Jung-joon Kim <jungjoon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I''m using image_tag to generate img tag. > > URL of image file generated by image_tag include a parameter like following. > > "http:// ..... /images/filename.gif?123123123" > > What''s this number parameter for? How can I remove it? I''m using rails > with built-in WEBrick server in test mode. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jung-joon Kim
2007-Mar-24 16:01 UTC
Re: image file URL generated by image_tag include some parameter
Can I remove it? Some clients with old browser complain browser can''t display images htmlized with image_tag method. (But I didn''t see the situation in person, and not sure about a cause) On Mar 25, 12:17 am, "Zack Chandler" <zackchand...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> It''s a timestamp that is automatically generated by the image_tag() > helper. This forces browsers to download the latest image if updated. > > -- > Zack Chandlerhttp://depixelate.com > > On 3/24/07, Jung-joon Kim <jungj...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > I''m using image_tag to generate img tag. > > > URL of image file generated by image_tag include a parameter like following. > > > "http:// ..... /images/filename.gif?123123123" > > > What''s this number parameter for? How can I remove it? I''m using rails > > with built-in WEBrick server in test mode.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Zack Chandler
2007-Mar-24 17:19 UTC
Re: image file URL generated by image_tag include some parameter
Wow - that must be a pretty old browser... Just use an img html tag or override the image_tag() helper. -- Zack Chandler http://depixelate.com On 3/24/07, Jung-joon Kim <jungjoon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Can I remove it? > > Some clients with old browser complain browser can''t display images > htmlized with image_tag method. (But I didn''t see the situation in > person, and not sure about a cause) > > > On Mar 25, 12:17 am, "Zack Chandler" <zackchand...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > It''s a timestamp that is automatically generated by the image_tag() > > helper. This forces browsers to download the latest image if updated. > > > > -- > > Zack Chandlerhttp://depixelate.com > > > > On 3/24/07, Jung-joon Kim <jungj...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > I''m using image_tag to generate img tag. > > > > > URL of image file generated by image_tag include a parameter like following. > > > > > "http:// ..... /images/filename.gif?123123123" > > > > > What''s this number parameter for? How can I remove it? I''m using rails > > > with built-in WEBrick server in test mode. > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jung-joon Kim
2007-Mar-27 00:41 UTC
Re: image file URL generated by image_tag include some parameter
http://hypsometry.com/blog/on-browser-caching-asset-timestamping-and-rails the point is ... Environment varible RAILS_ASSET_ID changes behavior of rails URL processing. On Mar 25, 1:01 am, "Jung-joon Kim" <jungj...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Can I remove it? > > Some clients with old browser complain browser can''t display images > htmlized with image_tag method. (But I didn''t see the situation in > person, and not sure about a cause) > > On Mar 25, 12:17 am, "Zack Chandler" <zackchand...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > It''s a timestamp that is automatically generated by the image_tag() > > helper. This forces browsers to download the latest image if updated. > > > -- > > Zack Chandlerhttp://depixelate.com > > > On 3/24/07, Jung-joon Kim <jungj...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > I''m using image_tag to generate img tag. > > > > URL of image file generated by image_tag include a parameter like following. > > > > "http:// ..... /images/filename.gif?123123123" > > > > What''s this number parameter for? How can I remove it? I''m using rails > > > with built-in WEBrick server in test mode.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---