duanjingyu007 / jquery-i18n-properties

Automatically exported from code.google.com/p/jquery-i18n-properties
0 stars 0 forks source link

Cacheing is not working in chrome but its working in FireFox and IE browsers #26

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Enable cache by using below configuration

/** Load and parse .properties files */
function loadAndParseFile(filename, language, mode) {
    $.ajax({
        url:        filename,
        async:      false,
        cache:      true,
        contentType:'text/plain;charset=UTF-8',
        dataType:   'text',
        success:    function(data, status) {
                        parseData(data, mode);
                    }
    });
}

2. open chrome browser -->Click F12 

3. Also added "Add Expires Header" in our Apache server configurations

What is the expected output? What do you see instead?

Request should not go to the server for second time 

What version of the product are you using? On what operating system?

@version     1.0.x
 * @author      Nuno Fernandes
 * @url         www.codingwithcoffee.com
 * @inspiration Localisation assistance for jQuery (http://keith-wood.name/localisation.html)
 *              by Keith Wood (kbwood{at}iinet.com.au) June 2007
 *

Windows 7 , jQuery JavaScript Library v1.8.3

Thx
Vin

Please provide any additional information below.

Original issue reported on code.google.com by svinaysr...@gmail.com on 25 Mar 2013 at 11:28