2 Replies Latest reply on Oct 28, 2009 7:15 PM by Kishore Chintoju

    Optimal value for org.ajax4jsf.DEFAULT_EXPIRE

    Kishore Chintoju Newbie

      All the RichFaces resources served from the web-app come with default Expires Header of 24 hours(for browser caching). Which is controlled by context param "org.ajax4jsf.DEFAULT_EXPIRE" with default value for "86400".

      In production I'm planning increase the cache time to a month or even an year. As I assume these js files contain none of developer code and the url of these resources will change when we upgrade to a newer version.

      Am I thinking wrong here (just wanted to confirm, is there anything in these JS files which will change in each build) and is it advisable to do this ?

      Example resource: