English 中文(简体)
原型.js在ROR生成的 html中签字的数字意味着
原标题:What do the numbers appended to prototype.js signify in ROR generated html mean

当我在生成的超文本中看到java字母链接时,它读作原型?1304329463。 我很想知道“?1304329463”指的是、呼吁或表示什么。

问题回答

它是一个简单的<>控制机制。

如果你安装新的原型,该数字将发生变化,浏览器将敢下载新版本。

(理论上,吉大港山区的头目可用于控制海滩,但在现实世界中,有这么多不同的浏览器、藏匿处、轴心等,所有这些都以明显不同的方式行事。 在资源变化时,简单地改变资源使用权,从而保证资源的新版本得到使用,这更加容易。

附加在你固定档案上的外壳,是切断你固定档案的铁路路的一部分,常常不会改变。 所附的洗.是一种inger。 如果该档案中的内容发生变化,那就发生了变化。

,该就更不用了。

It looks like a unix timestamp (representing Mon, 02 May 2011 09:44:23 GMT). That could be either the request time or the file creation time. Reason to add a timestamp is to be able to easily force browsers to fetch the file again. If the number sequence changes, it s considered to be a different request and browsers will simply refetch the file. That prevents caching issues when files get changed.





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签