How can I cache my jspx?

With JSF + ICEFaces + Facelets, I'm looking at firebug's NET statistics. It looks as if all my css's, jpg's, and gif's are cached. But my jspx page itself is not cached. How can I cache it and save a few microsecs?
Thanks,
Eli

Generally people turn page caching OFF because it gives plenty of grief, like updates in the database not showing up until forced refreshes and such.

Similar Messages

  • How can I Cache the data I'm reading from a collection of text files in a directory using a TreeMap?

    How can I Cache the data I'm reading from a collection of text files in a directory using a TreeMap? Currently my program reads the data from several text files in a directory and the saves that information in a text file called output.txt. I would like to cache this data in order to use it later. How can I do this using the TreeMap Class? These are the keys,values: TreeMap The data I'd like to Cache is (date from the file, time of the file, current time).
    import java.io.*;
    public class CacheData {
      public static void main(String[] args) throws IOException {
      String target_dir = "C:\\Files";
      String output = "C:\\Files\output.txt";
      File dir = new File(target_dir);
      File[] files = dir.listFiles();
      // open the Printwriter before your loop
      PrintWriter outputStream = new PrintWriter(output);
      for (File textfiles : files) {
      if (textfiles.isFile() && textfiles.getName().endsWith(".txt")) {
      BufferedReader inputStream = null;
      // close the outputstream after the loop
      outputStream.close();
      try {
      inputStream = new BufferedReader(new FileReader(textfiles));
      String line;
      while ((line = inputStream.readLine()) != null) {
      System.out.println(line);
      // Write Content
      outputStream.println(line);
      } finally {
      if (inputStream != null) {
      inputStream.close();

    How can I Cache the data I'm reading from a collection of text files in a directory using a TreeMap? Currently my program reads the data from several text files in a directory and the saves that information in a text file called output.txt. I would like to cache this data in order to use it later. How can I do this using the TreeMap Class?
    I don't understand your question.
    If you don't know how to use TreeMap why do you think a TreeMap is the correct solution for what you want to do?
    If you are just asking how to use TreeMap then there are PLENTY of tutorials on the internet and the Java API provides the methods that area available.
    TreeMap (Java Platform SE 7 )
    Are you sure you want a map and not a tree instead?
    https://docs.oracle.com/javase/tutorial/uiswing/components/tree.html

  • How can I cache an object for unlimited time or for ever.

    Hi,
    How can I cache an object for ever or unlimited time. What values should be used to in cache-config.xml i.e.
    <expiry-delay system-property="tangosol.coherence.zerostage.expiry.delay">XXXms</expiry-delay>
    <flush-delay system-property="tangosol.coherence.zerostage.flush.delay">XXXms</flush-delay>
    thanks a lot in advance.

    Hi Suhas,
    If you look in the documentation http://download.oracle.com/docs/cd/E14526_01/coh.350/e14509/toc.htm and more specifically here http://download.oracle.com/docs/cd/E14526_01/coh.350/e14509/appcacheelements.htm#BABDHGHJ you will see the explination for the two configuration items you mention.
    The default expiry-delay is zero which means no expiry - that is the data will stay in the cache forever (or until you do a remove). If expiry is zero then flush-delay has a default of zero is used and automatic flushes are disabled.
    JK

  • How can i devlope three JSPX pages & having only one backing bean.

    Hello Team,
    I am working on Jdevloper11g
    I have one form registration in this from user enters the self information in first screen, insurance information in second screen, employment information in third screen
    So I developed the following scenario
    I create one JSPX page & in this page I taken 3 panelGroupLayout n I simply rendering the panelGropuLayout that time its very essay stuff.......
    But now I have to implement the af:train component in that I have to implement above scenario in three JSPX pages & I want only one backing bean for this three JSPX pages.
    SelfInformation.jspx ...... SelfInformation.java
    InsuranceInformation.jspx
    EmploymentInformation.jspx
    I done this too…
    But now I want when
    I adding some components on second screen ex af:inputText its backing bean create in SelfInformation.java
    Is this possible?

    HI..
    I created three jspx pages...& i drag n drop af:train & af:trainButtonBar camponant.... by default Back & next button is created...But my requirment is...Only on first form i dont want to show Back Button...
    How can i do this?
    Edited by: Charu on Nov 22, 2009 9:42 PM

  • How can I cache part of an Apple map, so that I can use it when there is no 3G or wifi signal?

    I am going abroad and I know the area to which I am going has no signal or any hope of connection.
    How can I download the part of a map in the area and use it when I get there? Or do I need to download the whole country map from a third party supplier onto my iPad?

    When the map is displayed on the screen, do a screenshot.
    How to take a screenshot on your iPad
    http://www.imore.com/screenshot-ipad
     Cheers, Tom

  • How can I cache dvt graph results?

    Hello colleagues, I need some help regarding dvt graphs performance.
    In our application we have big amount of data which the user can filter by adding grouping options, time ranges, etc. For the graph to be updated (the query to be re-executed), the user has to press a "Refresh" button each time he changes the query parameters.
    Once the new results are displayed in the graph, the user can change the graph type by pressing either a pie, bar, line or table buttons. As a consequence of this, the query is re-executed and returns the same previous results. This obviously drops the performance of the application.
    So, how we can manage to refresh the type of graph (for example from pie to bar) without re-executing the query. Note that the "Refresh" button should always re-execute the query even if the parameters were not changed.
    I'll appreciate your help.
    Regards,
    Nicolas
    Edited by: 864814 on Oct 14, 2011 6:05 AM

    And by the way how are you switching the graph type? Are you using an af:graph tag and switching just the type? Or are you rendering a complete new graph on your page?

  • How can i delete cache in obiee

    Hi all,
    How can delete cache in Obiee

    We can delete Cache in OBIEE:
    1.Go to UI-Settings > Manage Session > Close all Cursors
    2.Go to Backend :Admin tool(rpd) > Manage > Cache > Action > Purge
    3.On the Config File:NQSConfig.INI file(OracleBI\server\Config) set ENABLE = NO under Cahce section.
    4.You can see the Link:http://download.oracle.com/docs/cd/E12096_01/books/admintool/admintool_QueryCaching.html
    thanks vel

  • How can reset/delet domain passwaord cache in local machine

    Dear concerns,
    I am using a windows 8 operating system, I am member of a domain. Also I am a local administrator of my laptop. I also have made image of my system drive.
    Yesterday my windows got stuck and its giving errors regarding  startup application and drivers etc. Now the best solutions at that time to restore the back up. I did it and its restore successfully. But the
    problem is when I try to login my domain account it say some error " Trust relationship between this workstation and
    domain controller failed". Only way to login is remove the network cable and entre the old password when I created the image of system drive. I even change it after login by pressing CTRl+Alt +Delete and then changed it and it was changed
    successfully but the problem is same while login again by putting the network cable back. I googled it then I came know that its some of log sync issue between my laptop and my domain server as I changed password
    during this time span i.e. when I created the backup. They also gives quick solution i.e. disconnect from domain and reconnect it to domain but problem is here I don't have the domain password and concern persons are not very welcoming even if they did it what
    happen next time when restore it again.
    So my question is that how can I reset/delete/clear the information of my domain user id & password or that "log" which
    creating the problem, from my system other then disconnect and connect to domain, there must be some way as I am still able to login to other systems of my colleagues with my domain id and current password,
    but I don't know why there is not log sync issue at there. I copied all my important data to other partitions so nothing to worry about the loss of data.
    Reset/delete of my domain does not mean  I want to do it on the server but on the local machine I think ''clearing the domain cached" is another relative term of my problem. I highly appreciated your cooperation in this regard.
    Best Regards
    Mubasher Mukhtar

    Hi Mubasher!
    The only way to recreate the trust between your client and the domain is to remove the client from the domain and rejoin it.
    This is due to the fact that the "request" is sent from the server and not your client.
    But still, this shouldn't be a problem. I would rejoin the client to the domain and create a new backup since there is a chance that the backup hasn't been completely successful.
    Best regards
    Andreas Molin
    Andreas Molin | Site: www.guidestomicrosoft.com | Twitter: andreas_molin

  • How can I use Apple Caching Service on a Network with Multiple Public IPs?

    Hello!
    I help manage a network of ~4000 clients for a small liberal arts college in Michigan. I'm looking into the possibility of implimenting Apple Caching Server for our network.
    We have one 400mbit pipe out to the internet, and all of our clients are given public-facing IPs to the internet. A caching server would be great, especially on update days. All wireless clients are on the same subnet, which is where I'd like the server to be serving the cached copies.
    I have installed Mavericks on a fresh machine, downloaded OS X Server 3.0.3, and attempted to start the caching service. This is what I get.
    Unable to start service.
    Caching cannot be run on a public network. Consult documentation.
    How can I get this up and running?

    The way the Caching server works is that the server will be accessing the Internet and when doing so traffic will be coming from it via a particular public IP address. Usually this will not be the address of the server itelf but your router as for most networks NAT is used. In this by far more common scenario the client Macs (and likely iOS devices) will be going through the same router and hence show up via the same public IP address.
    If the client request is the same as the address registered via the Caching server then Apple redirect the request via the Caching server.
    The setup would look something like this -
               Internet
                    |
                Router (with NAT)
                    |
      (LAN)     +------Caching Server-----Client devices
    With this setup because everything is using the same public IP address Apple can reasonably assume everything is on the same network and trigger a redirection to your Caching server.
    If you try a setup like the following with the Caching server having its own public IP it will not work because the Caching server and client devices will have different public IP addresses
               Internet
                   |
               Router (no NAT)-------------------+
                   |                                      |
                Firewall (with NAT)       Caching Server
                   |                                      |
                   |                                      |
    (LAN)     +-----Client devices-----------+-----------
    Your configuration as described is more like the following
               Internet
                   |
               Router (no NAT)
                   |
    (LAN)     +------Caching Server-----Client devices
    With yours not having NAT each device has its own public IP address including the Caching server and Apple cannot redirect traffic as it thinks they are on different networks.

  • In My iphone 5s,i have disabled automatic download from whatsapp app.So whichever images,video i feel is good i download them and then save them to my camera roll section.So i want to know how can i remove the images from cache of my phone.

    In My iphone 5s,i have disabled automatic download from whatsapp app.So whichever images,video i feel is good i download them and then save them to my camera roll section.So i want to know how can i remove the images from cache of my phone which are downloaded and not saved,but they remain in cache.
    Even in some apps i have data which i want to remove,but cant find a way to remove them and they are in my cache eating up my memory.

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • Firefox conintually creates a folder in my cache that is 60MB. It's titled e3xuyg2m.default. How can I get rid of it permanently?

    ''locking this thread as duplicate, please continue at [https://support.mozilla.org/questions/992841 /questions/992841]''
    I've noticed a folder is created and I have no clue what it's for. All I know is that it is created in the C:\Users\[My Computer Name]\AppData\Local\Mozilla\Firefox\Profiles\e3xuyg2m.default and it's bulky, 60MB! It's creating a number of files within the cache folder. I have tried to remove it using CCleaner, but no permanent solution. This does not happen on my other computers, only my laptop. Therefore I'm coming to the conclusion it's not a necessary file. Is it malicious? How can I permanently remove it? Aside from being questionable, it's weighing down my computer.
    Thanks in advance!

    hello tomterrimort, if your manual changes don't 'stick' after a restart of the browser, please look out for any suspicious extensions (like 3rd-party-toolbars or things you have not installed intentionally) presently installed under '''firefox/tools > addons > extensions''' or the programs section of the windows control panel and remove those entries.
    in case this doesn't solve the issue please try this: go to firefox > help > troubleshooting information > profile folder - "show folder", then a new window will open up. in this window look out for a file named '''user.js''' (it might be used to overwrite your custom settings). in case it is present , delete or rename this file and restart firefox afterwards.
    [[Remove a toolbar that has taken over your Firefox search or home page]]
    <br>[[How to fix preferences that won't save]]

  • How can I create a client console and work together with the Cache Server?

    How can I edit the following Cache-Server.cmd file to create a client console and work together with the Cache Server?
    The following is the cache server file: contacts-cache-server.cmd
    @echo off
    setlocal
    if (%COHERENCE_HOME%)==() (
    set COHERENCE_HOME=c:\coherence
    set CONFIG=C:\home\oracle\coherence\Contacts
    set COH_OPTS=%COH_OPTS% -server -cp %COHERENCE_HOME%\lib\coherence.jar;C:\home\oracle\
    coherence\Contacts;C:\home\oracle\coherence\Contacts\classes;
    set COH_OPTS=%COH_OPTS% -Dtangosol.coherence.cacheconfig=%CONFIG%\contacts-cache-config.xml
    java %COH_OPTS% -Xms1g -Xmx1g -Xloggc: com.tangosol.net.DefaultCacheServer %2 %3 %4 %5 %6 %7
    :exitEdited by: junez on 23-Oct-2009 09:20

    Hi
    To run the console, change DefaultCacheServer to CacheFactory
    Paul

  • How can I see the stored files in cache?

    How can I see the stored files in cache? I need them!
    Thanks for helping me.

    The History menu lets you revisit the page where you can drag any page element from it.
    How would you sort through thousands (tens of thousands) of files found in a cache?

  • How can I delete unwanted/inaccurate email addresses from the iPhone cache?

    How can I delete old / unwanted / inaccurate email addresses from the "suggestions cache" that keep popping up the moment I type in the first letter in on a fresh email address box?
    This is driving me mad! The London Store Apple Genius can only suggest either deleting my email account and then recreating it or totally reseting the iPhone to the original factory settings and then resynching it to my MacBook Pro to get everything back into the iPhone. However, he's not sure that this cache is not stored on the MacBook Pro during synching somewhere so I may well end up where I started! Allan Sampson answered my last "Help" topic, so I'm hoping he can beat the Apple Store Genius again!
    Over to the Forum and Allan.

    Hi Kelvin and everyone with the same problem.
    This used to be me and the painful solution ( for PC users ) is:
    Buy a Mac!
    Everything "talks" to each other and it all interfaces fine with the business world.
    Once you've adjusted to the ( much better ) Mac "culture" it all becomes clear and the
    backup service and advice is second to none. Not only that, everything works!
    Hope this helps......

  • How can I get rid of cache files?

    Premiere Pro, can't find cache files on Mac, not in the common folder, clean doesn't work, I know there are Gigs of them on my drive.  How can I get rid of them?
    I started a premiere project I had worked on before using an external drive but forgot to hook up the external drive.  In a few minutes, Premiere loaded 5 gigs of cache files onto my macbook pro drive OSX 10.8.6.  I tried the following to free up the space:
    Tried to "clean" the cache folder before switch it to the external drive - this only removed a small amount of the 5 gigs created
    Tried to find files in the Application Support/Adobe/common folder - no cache files found
    Tried searching the web for answers - no new info
    Tried searching my drive for the files - can't find them
    Tried restarting the MacBook and Premiere with and without the external drive - no luck
    Now what?
    Message was edited by: Kevin Monahan
    Reason: please make a shorter and more concise title next time. Thanks.

    First off, exactly which version of Premiere are you running? Not simply PPro CC or CC2014 but the version number shown in the About box.
    I'm not clear whether you're saying that Premiere can't find the cache files or that you can't find them.
    I gather that you're referring to the Clean button on the Media tab of the Preferences dialog, which is also where you set the path for the cache files.
    Are you sure you're looking in the correct Library--not the one that's readily accessible under Macintosh HD but the one that Apple, in it's infinite wisdom, hides from users. To access it, open the Go menu and press Option.

Maybe you are looking for

  • SMB Connections Not Showing Up in "SHARED"

    Ever since I upgraded to 10.5, I have struggled with the SHARED section of my finder windows. In the past, when I went to the old "Network" section, it would show all of the Windows computers on our network to which I could connect with SMB. It would

  • HP CM1415fnw and Mac 10.9.2 wireless connection

    I have a HP CM1415fnw and a Mac running 10.9.2. I am on only one network. It was working great then with an upgrade somewhere along the line it stop seeing the printer from the mac. I also have a Win 7 Pc and it sees it fine.  I run the HP for Mac se

  • Proof you're a student to get educational discount???

    I am currently a higher-education student. How do I find out if my school qualifies for the educational discount, and, what kind of proof will the Apple Store need to prove I am a student??? Just a school ID??? Thanks.

  • Trying to update 5.0!

    Not really techno-savvy, and just realized I have Acrobat Reader 5.0 -- apparently it's been updated a few times!  However, it also looks like I can't just jump right into the newest 9.xx version.  Can't tell if I need to start with 6.xx and work my

  • Loss in pdf output quality

    Hello I have just 'upgraded' my computer.  I used to work on XP, now I'm on W7. When I create a pdf the quality of eps and png files is greatly reduced in quality. This applies if I use Adobe pdf or cute pdf. I have attached a file: