English 中文(简体)
Grails - dev env
原标题:reliable refresh of js resources in Grails - dev env

......是否有可靠途径在距清洁和重新开垦的铁路中更新贾瓦古典资源? 我已注意到,有时,在满足雅氏病情要求时,可以作一些改动。

例如:

$.ajax({
    type    : thisType,
    url     : thisUrl,
    data    : thisData,
    statusCode :  {
        200 : function(){
                console.clear();
                console.log(  status code 200 );
        },
        401 : function(){
                console.clear();
                console.log( log in to continue );
        }

... omitted stuff ...

}); 

I d get the expected console output when status code was 200, but not when I expected 401. A while later stated getting the expected 401 output and so on with other codes.

Is this indicative of issue with browser cache? I m using Chrome, Grails 2.0.2,jQuery 1.6 and latest distro of IntelliJ

最佳回答

在我的个人经历中,它占用了大部分时间。 当我使用剪辑测试我的网吧时,我通常通过在右角上<<>Web Tool栏下进入,而然后点击可分的海滩

除此以外,我的网站预示着资源,我只是在修改通常迫使我重新启用发展服务器的布局时发现问题。

问题回答

暂无回答




相关问题
Prevent IE caching

I am developing a Java EE web application using Struts. The problem is with Internet Explorer caching. If an user logs out he can access some pages because they are cached and no request is made. If I ...

Explanation for expires header

I have a joomla application working on Apache.To improve site performace we have written a .htaccess file to root of the application with setting a far future expires header to all the static content. ...

How does SO s form remember previous input values?

I ve noticed that the Title or Body part is remembered if I come back to the Ask Question page by pressing Back button of my browser. This feature is available in all browsers I tested, but doesn t ...

Why do firefox/chrome show a different page than IE8?

When I look at this published Google Docs document, I see the latest version with Firefox and Chrome, but an older version with IE8. Also, screen-scraping it via PHP/Curl gives me an older version. ...

Stop browser from filling textboxes with details

I ve run into a really annoying problem, and I m hoping it s just a setting I ve missed. I ve got an ASP.NET application which allows users to enter their username/password in various places (e.g. ...

Google App Engine: localhost browser caching?

I m developing with GAE on my own machine. It was pretty fast, until I added CSS and images, at which point the page loads much more slowly. I suspect that the browser isn t caching anything, perhaps ...

ASP.NET MVC 2 RC Caching Problem

Since upgrading from mvc 2 beta 2 to rc I m having trouble with an ajax submission in Internet Explorer. Upon carrying out a jquery form post, the function returns a url to a controller action. This ...