cache « Development « JSF Q&A





1. Basic cache question    stackoverflow.com

Say I have a JSF backing bean, request scope, that has a List as a member. In the backing bean, I have a method that is bound to a button on the ...

2. How can I implement "CSS versioning" (to solve cache issues) using JSF 2 h:outputStylesheet?    stackoverflow.com

I'm starting to work with JSF 2 so I wanted to give a try to h:outputStylesheet. It works fine but then I tried to apply the "pattern" or trick of adding ...

3. How can I implement CSS Cache Busting with JSF outputStylesheet?    stackoverflow.com

In JSF page templates I use this code to include a CSS resource:

<h:outputStylesheet library="css" name="mystyles.css"  />
The usual way to implement CSS cache busting would be to add a version parameter, ...

4. h:inputText, h:selectOneMenu shows old values after re-rendering    stackoverflow.com

I have h:inputText, h:selectOneMenu in every row in a table. I also have delete button at the end of each row. On-click of delete button corresponding row is deleted. When I ...

5. Cache problem during JSF 1.1 migration to JSF 2.0    stackoverflow.com

We are migrating an application from JSF 1.1 to JSF 2.0, after migration I am unable to see the data in browser which I have fetched from cache. Code in JSF ...

6. How jsf cache css?    stackoverflow.com

I have 2 css file as below. style.css is getting 304 Not Modified. But default.css is always getting 200 OK. Why is default.css not cached?

<h:outputStylesheet library="css" name="default.css"/>
<h:outputStylesheet library="css" name="style.css"/>

7. Force reload image jsf    stackoverflow.com

I would like to display a graphic image in a jsf web application from a html file that's changing for each run. The problem is that the displayed image was always the ...

8. JSF 2.1 - Facelet cache factory configuration    stackoverflow.com

I am using Mojarra 2.1.2 and want to configure the facelet cache factory. I tried the following in my WEB-INF/faces-config.xml but it does not seem to work.

     ...

9. Weird caching(?) problem    coderanch.com





10. Image caching question    coderanch.com

11. how to cache a portion of a jsf file    coderanch.com

12. css and .js files being cached?    coderanch.com

I have a JSF application with some simple javascript functions in a .js file referenced in every one of my pages. It seems that changes to these files aren't being picked up by some computers (actually, everyone else's computer at work) and I can't figure out why. In my browser I make some changes to some data which are validated by ...

13. selectOneMenu caching issue    coderanch.com

14. ExternalContext.isUserInRole caching?    coderanch.com

15. caching issue of c:forEach in JSF    coderanch.com

Hi, I want to display list from the ArrayList on the JSF page. I have used JSTL c:forEach to display the data. The applicaiton is of 2 screens. On the first screen user selects a product from drop down and on second page, the corresponding versions of the products are displayed with the help of JSTL. The second page has hyperlink ...

16. caching so that the website is available for the user??    coderanch.com

HI All, I am developing a web site using jsf ( hibernate - mysql - spring ) .. the website is working fine but the problem is in case there is some disconnection between the client and the website server ( which holds the website and the database -- by the way currently the application and the database are residing in ...





17. JSF/Browser Caching Problem    coderanch.com

I am working on a JSF based project. I have a page which has a list of candidates profile links. you can click on each link to go into his/her profile and upload documents in that profile. So the problem is I click a link and open up a candidate profile one page, and without closing the this page I open ...

18. how to clear the cache in JSF?    coderanch.com

You cannot clear the user's cache via a server-initiated action. That kind of activity is what malware does. What you have been doing is instructing the browser not to cache the results you're returning - something you'd normally do when returning pages whose content is subject to change. Ordinarily, you don't do this when using JSF, since the whole point of ...

19. Caching JSF dynamic content    coderanch.com

21. clearing browser cache    coderanch.com