我曾用一幅“JQuery”、“KnockoutJS”和其他“Javad”的字眼,为我正在建造的网络 app子。 多数联合材料在自己的单冰箱中消失。 我面临的问题是,浏览器在我推动变革者在获得更新档案之前必须几次复读时,就把这些文件整理起来。 最近,我对通过一些数据的方式作了重大改变,档案的细列版本造成了一些错误,更糟糕的是,一些数据被删除。
人民如何处理这一问题? 是否有办法强制更新档案?
我曾用一幅“JQuery”、“KnockoutJS”和其他“Javad”的字眼,为我正在建造的网络 app子。 多数联合材料在自己的单冰箱中消失。 我面临的问题是,浏览器在我推动变革者在获得更新档案之前必须几次复读时,就把这些文件整理起来。 最近,我对通过一些数据的方式作了重大改变,档案的细列版本造成了一些错误,更糟糕的是,一些数据被删除。
人民如何处理这一问题? 是否有办法强制更新档案?
不同的发展中国家做的是不同的事。 官方途径是玩笑和使用吉大港山区头盔。 谷歌用于“领导和教学问题”,你应该以自己的方式继续工作。
However some browsers just ignore you so if im developing in a live environment, i use version numbers to ensure everyone gets the latest file. So you might call your original "something.js?v=1.0". Make a small change then change it to "?v=1.1".. you get the idea. Because the link is different, it should completely ignore caching in most cases.
我倾向于使用两种方法,只要尽可能确保。
我知道强迫所有浏览器忽略切身之处的唯一办法是在文字标签上添加某种独特的识别标志。
你们可以做的一件事是,通过GET param增加一个时间档或版本号码,向服务器赢得任何东西,或者如果可行的话,仅改变文字本身的名称:
<script type="text/javascript" src="myscript.js?version=2.0"></script>
<script type="text/javascript" src="myscript.js?ts=9342038423048"></script>
<script type="text/javascript" src="myscript.2.0.js"></script>
如果对联合材料档案进行了重大修改,尽管大多数浏览器应当足够精彩,能够打上新的复印件......如果你能够使用服务器(Cache-expire等),你也可以打上你的回复头盔。
问题在于,如果一名浏览器对相同的URL提出
ajax具体来说,有一个j Query.ajax 参数。 您
cacheBoolean Default: true, false for dataType script and jsonp
If set to false, it will force requested pages not to be cached by the browser. Setting cache to false also appends a query string parameter, "_=[TIMESTAMP]", to the URL.
在使用AJAX时,你应当使用这种方法。 否则,将给你自己的时间档或更换头盔(他们应在现代浏览器工作)。
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.
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 ...
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 ...
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 ...
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 ...
Is it possible for someone to give me a few pointers on how to display a multidimensional array in the form of a bar graph? The array is multidimensional, with three elements in each part - and the ...
Is it possible to reload a form after file-input change? I have a form where the user can chose an image for upload. I also have a php script which displays that image resized. I only wonder if it ...
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.