{"id":1315,"date":"2011-04-12T15:42:08","date_gmt":"2011-04-12T15:42:08","guid":{"rendered":"http:\/\/salientsoft.co.uk\/?p=1315"},"modified":"2011-04-12T15:46:17","modified_gmt":"2011-04-12T15:46:17","slug":"controlling-resource-caching-in-jsf-2","status":"publish","type":"post","link":"https:\/\/salientsoft.co.uk\/?p=1315","title":{"rendered":"Controlling resource caching in JSF 2"},"content":{"rendered":"<p>There are 2 competing issues here \u2013 you want to cache for example javascript and css files on the client for speed, but you want to flush the cache and update them when you release new software versions.<\/p>\n<p>An interesting discussion on this, detailing the use of the web.xml parameter<em> javax.faces.PROJECT_STAGE<\/em> and its control of caching<em>,<\/em> may be found on the Primefaces forum <a href=\"http:\/\/primefaces.prime.com.tr\/forum\/viewtopic.php?f=3&amp;t=6462&amp;p=31333#p31333\"><strong>here<\/strong><\/a>.<\/p>\n<p>There are some more links on this and discussion on my issue raised for this on Mantis <a href=\"http:\/\/salientsoft.co.uk\/mantis\/view.php?id=21\"><strong>here<\/strong><\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are 2 competing issues here \u2013 you want to cache for example javascript and css files on the client for speed, but you want to flush the cache and update them when you release new software versions. An interesting discussion on this, detailing the use of the web.xml parameter javax.faces.PROJECT_STAGE and its control of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[22],"tags":[184,112,16],"_links":{"self":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1315"}],"collection":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1315"}],"version-history":[{"count":3,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1315\/revisions"}],"predecessor-version":[{"id":1318,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1315\/revisions\/1318"}],"wp:attachment":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}