Chetan Thapliyal wrote:> Hi,
>
> I am using this <%= javascript_include_tag
''/editor/xyz.js'' %> to
> include javascript source to my code. But I am getting this as output
> <script src="/editor/xyz.js?"
type="text/javascript"></script>
>
> I just want to know why I am getting a question mark in
"/editor/xyz.js?".
>
I''m guessing that''s to do with asset caching. It
shouldn''t cause a
problem. Asset caching works by attaching a timestamp from the last
modified time on the asset file to the generated links, so the browser
knows not to download it if it can avoid it.
--
Alex