Result cache not working?

Hi,
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
SQL> show parameter result;
NAME TYPE VALUE
client_result_cache_lag big integer 3000
client_result_cache_size big integer 0
result_cache_max_result integer 5
result_cache_max_size big integer 10M
result_cache_mode string MANUAL
result_cache_remote_expiration integer 0
The above are the initialization parameters set and the DB version.
Now i have created a table as
create table objects as select * from dba_objects;
then issued the following query.
select /* result_cache */ object_Type,count(*) from objects group by object_type;
it appears that the results of the above query is not cached in the result cache. using
set autotrace traceonly explain confirms that there is no result cache or the CACHE_ID in the explain plan. also the v$result_cache_statistics confirm the same.
But after this when i issued the following statement.
alter session set result_cache_mode=force;
the same below sql statement again
select /* result_cache */ object_Type,count(*) from objects group by object_type;
it appears that now the result cache is being used.
My question is despite using the result_cache hint and trying the above statement when the result_cache_mode=auto/manual. The result cache is not being used or the results of the SQL statements are not being cached at all despite using the result_cache hint and the table being not used at all. and if i use the result_cache_mode=force then the result cache is being used.
Can any one please explain this behavior. Cursor_sharing is set to EXACT. and i am issuing the same SQL statement without any changes at all.
Thanks,

There is a syntax problem with your queries:
select /* result_cache */.... is just a comment, not a hint. For creating a hint, you need "+": select /*+ result_cache */....

Similar Messages

  • Does Result Cache Really Work..

    Does Result Cache Really Work..
    We have upgraded to 11.2.0.2 Theere were some corruption issue we were facing cause of using result cache..
    Still the same error after upgrade...
    Is any one here familiar with using result cache..One good thing about result cahce i found it does improve performance.
    But the problem is the datbaase crashes..after it reaches some memory limit..Does any one have good expereince using it..?

    Probably following notes on Oracle Support site can help.
    11g New Feature PL/SQL Function Result Cache [ID 430887.1]
    11g New Feature : SQL Query Result Cache [ID 453567.1]
    PL/SQL Procedures Do Not Switch Result Cache Mode Within The Same Session [ID 556035.1]
    HTH

  • Google cached not working in firefox. I works fine in Safari

    The response given when trying to use cashed in firefox is:
    This is Google's cache of http://fixunix.com/mozilla/430140-firefox-cache-not-working-expected.html. It is a snapshot of the page as it appeared on 13 Feb 2012 13:28:25 GMT. The current page could have changed in the meantime. Learn more

    *http://www.google.com/search?hl=en&ie=UTF-8&q=cache:http://fixunix.com/mozilla/430140-firefox-cache-not-working-expected.html

  • Image cache not working with Firefox and apex

    Hi,
    I'd like to cache all my images to save page rendering time and bandwidth because my images are all static and never change.
    I use the John Scott's caching technique Link: [http://jes.blogs.shellprompt.net/2007/05/18/apex-delivering-pages-in-3-seconds-or-less/], in a few words this technique consists of adding a header line "Expires: date in the future" in the http response.
    It works very well in IE, the images are cached and the same image can be accessed several times (within the same session or in different sessions) without issuing an http request to the server each time.
    with Firefox it does not work, the same image is asked again and again to the server (i'm using FF 3.5 and APEX 3.2).
    - Is it a date format problem? no, because when i type about:cache in FF, i can find my image in the cache with an expire date in the future.
    The weird thing here is that the counter is incremented each time u request the image, so FF knows it is in the cache and even if the expire date is in the future, FF asks it again to the server.
    - Is it a FF bug? If u read the http specs or if u google a little, u can come to the conclusion that FF does not follow the standards,
    but... images.google.com for example manages to get its images cached with FF.
    They use an http response header "cache-control: public, max-age=604800".
    I tried the same and all kinds of combinations but without success.
    When i compare my image with the one from google in the FF cache, they both have the same attributes.
    - It's not an apex issue neither because it works with IE, most probably an incompatibility between apex and FF?
    Maybe the use of cookie? or the http request (not the response) containing "cache-control: max-age=0"?
    I've found so far 2 half solutions:
    1) use ETag and modified date, see the Tyler Muth's note Link: [http://tylermuth.wordpress.com/2008/02/04/image-caching-in-plsql-applications/].
    with this technique FF continues to send request each time but the answer is shorter because it's just a "304 not modified" instead of "200 OK" (200 response is bigger as it contains the image).
    it's better than nothing but you still have 1 request + 1 response for nothing.
    Another problem is that you need SYS access to implement this, which is not possible on an hosted server. (note that for images from the file system it is already foreseen by apex 3.1, Tyler's note is for images from the db)
    2) if you preload the image (using myimage=new Image();myimage.src='...';), then there is max 1 request per browser session.
    There are 2 minor issues here:
    - no caching across sessions
    - if u don't want to preload all the images (example a page with lots of thumbnails, when user clicks it show a bigger image, in that case the thumbnails can be preloaded but overkill for the big images), then you need to load the image, wait until the image has loaded before displaying it, it does not slow down the execution, but requires some extra JS.
    I'm not asking anyone to investigate it, i can live with the 2 workarounds,
    but just in case someone encountered the same problem and already fixed it.
    Let me know if u managed to use the John Scott's technique with Firefox. (U can use Firebug to see the http traffic)
    Thx
    Tim

    Hi Anshul, hope these help. Let me know if you need to see anything else.
    Best,
    Menu Settings:
    Tab Hyperlink:
    Label Text with with hyper link option not available (works as a hyperlink in chrome and IE though):
    Thanks for the help in advance!

  • LOV Cache not working properly

    Hello Community,
    We are currently with BO Edge 3.1 SP 2 latest FP.
    I am expierencing that the LOV Cache is not working as expected::
    1. I am using InfoView in Edit-Mode or Webi Rich Client. If I execute the report, the prompt for the QueryFilter is taking ages to load. This is caused by the fact the each and every Dimension is loaded from BW - no Cache used.
    2. I am using InfoView in View-Mode and the prompt for the QueryFilter is taking like 5 Seconds. No connection to BW for every dimension - only on demand by pressing the refresh button of the filter dimension.
    When we were on 3.1 SP1 the system was working as expected (2.) regardless the mode of the tool we were using.
    Anyone got an idea how to avoid the loading of the data from BW  or to activate the cache in design mode ?
    Regards,
    Andreas

    The delegate search option on the list of values properties presents the user with an empty list of values at query run time. The user enters search criteria to limit the number of values returned in the list of values.
    To activate the delegated search option for a list of values, edit the list of values properties on the object properties page of the object to which the list of values applies.
    Note: The delegated search is not supported for cascading lists of values.
    This is what you are looking for??
    Thank You!!

  • Continue Button on Quiz Results Slide NOT Working Properly

    I'm experiencing a functionality issue with the "Continue"
    button on the Quiz Results slide:
    Situation 1: After initially completing the quiz, I need to
    click the "Continue" button on the Quiz Results slide only once to
    advance to the next (and last) slide in the quiz movie. This is
    fine & works as I would expect.
    Situation 2: After initially completing the quiz, if instead
    I choose to review the quiz, later when I get to the Quiz Results
    slide, I need to click the "Continue" button TWICE to advance to
    the next (and last) slide in the quiz movie. This does NOT work as
    I would expect.
    Any idea why only 1 click is needed in the Situation 1 while
    2 clicks are needed in Situation 2? Any way to fix Situation 2 so
    that only 1 click is needed?
    Thanks much!

    CapManZ,
    Whether the Continue button on the Quiz Results slide
    requires one or two clicks is mysterious indeed. See
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=67&catid=464&threadid =1302278
    for another discussion about its misbehavor.
    Actually, the number of clicks required depends on how long
    you wait after the Quiz Results slide appears, prior to clicking
    the Continue button. In your situation 1 you probably answered
    questions rather than using the skip button, so you viewed the
    question slides for a while prior to arriving at results. In your
    situation 2 you probably used the Skip button to zip through the
    slides to return to the results screen. Try this. In situation 2,
    when you get to the Quiz Results slide, instead of clicking the
    Continue button, go get a cuppa joe and then see if a single click
    will work. If so please let me know.
    I've experimented with a Captivate 2 multiple choice quiz in
    a slide show that contained only 10 questions and the Results
    slide. I added a text caption with fade in and fade out enabled
    (the default) to the Results slide. I found that after the caption
    fades in, one click on the continue button advances the slide. So I
    used the caption's appearance to help measure the timing.
    In the tests below I skipped as rapidly as possible, pausing
    at various slides to see how it affected the single click
    threshold.
    Skip all slides: 28 sec
    View slide 1 for 60 sec and then skip: 28 sec
    Skip to slide 5, pause 30 sec, and then skip: 13 sec
    Skip to slide 10, pause 30 sec, and then skip: 2-3 sec
    Answer each slide (took more than 30 sec): 2-3 sec
    Skip all slides, click Continue as fast as possible: 2-3 sec
    I also reduced the number of question slides in the quiz and
    skipped all slides.
    7 questions: 18 sec
    3 questions: 7 sec
    I believe the threshold value (the duration required before
    clicking the Continue button advances to the next slide) is
    composed of two durations which add together to determine the
    threshold. The Result's slide's timeline probably sets the
    threshold's lower limit. Clicks prior to 3 seconds are ignored.
    Time per slide and number of slides left to go sets the upper limit
    for the threshold. The slower the movement, the lower the
    threshold.
    Several conclusions:
    This probably isn't a situation in which the first click is
    ignored. Instead the first click reduces the threshold's value to
    the lower limit. The second click would then typically occur after
    3 additional seconds, particularly if the user is surprised that
    the first click didn't work and pauses slightly. A very fast
    additional click on the Continue button is ignored as well.
    Long quizzes will cause more complaints about the issue
    because of what you experienced. It typically takes longer to
    answer the quiz than review it.
    Perhaps there's a workaround that would alert the user that
    the Continue button is ready for clicking. I'm thinking that since
    the text caption fade-in coincides with being ready to continue, an
    image or the like might do the trick. Any suggestions out there?
    Humm, a better alternative might be to show some images of
    snacks on the results slide background. Through suggestive selling,
    the user realizes it's time for a break and clicks Continue after
    returning with that cuppa joe. And the sound you hear? It's the
    Captivate developers giggling if they read my conclusions. Too bad
    they're mum, since some real info might make it easier to make
    Captivate behave. Ah well.
    Phil

  • Applet caching not works

    Hi friends!
    I made an applet.
    The applet is working well, but I observed that the loading of applet is takes to long.
    The applet never cached, because of the name of the applet in the cache (Java Control Panel/Temporary Internet Files/View...) not equal to the value of archive option in the applet's definition:
    The name in the cache:
    summa.jar;jsessionid=gw2BLPhLhfhGn5tT0XvG2vpQLCVfcLC6DQtwbpwFpVkTNYyxTpMd!-1730548664!1271863880952?version-id=1.0.0&ctrl-state=19li41bj2g_4
    The sessionid always appended to the archive's name. Every time I get a new applet name.
    How can I get the caching to work?
    Thanks
    The part of jspx file:
    <f:verbatim>
    <applet code="gomb.report.GombPrintApplet" height="400"
    width="1000"
    archive="summa.jar"
    codebase="http://127.0.0.1:7101/GOMB_ZIZI/faces/PrintApplet"
    type="application/x-java-applet;version=1.6.0"
    cache_option="Plugin"
    cache_archive="summa.jar"
    cache_version="1.0.0"
    id="${sessionScope.GombUserData.printAppletId}"
    url="${sessionScope.GombUserData.printAppletSource}">
    <param name="cache_option" value="Plugin" />
    <param name="cache_archive" value="summa.jar"/>
    <param name="cache_version" value="1.0.0"/>
    <param name="id"
    value="${sessionScope.GombUserData.printAppletId}" type="String"
    valuetype="OBJECT" id="id"/>
    <param name="url"
    value="${sessionScope.GombUserData.printAppletSource}" type="String"
    valuetype="OBJECT" id="url"/>
    </applet>
    </f:verbatim>

    Hi friends!
    I made an applet.
    The applet is working well, but I observed that the loading of applet is takes to long.
    The applet never cached, because of the name of the applet in the cache (Java Control Panel/Temporary Internet Files/View...) not equal to the value of archive option in the applet's definition:
    The name in the cache:
    summa.jar;jsessionid=gw2BLPhLhfhGn5tT0XvG2vpQLCVfcLC6DQtwbpwFpVkTNYyxTpMd!-1730548664!1271863880952?version-id=1.0.0&ctrl-state=19li41bj2g_4
    The sessionid always appended to the archive's name. Every time I get a new applet name.
    How can I get the caching to work?
    Thanks
    The part of jspx file:
    <f:verbatim>
    <applet code="gomb.report.GombPrintApplet" height="400"
    width="1000"
    archive="summa.jar"
    codebase="http://127.0.0.1:7101/GOMB_ZIZI/faces/PrintApplet"
    type="application/x-java-applet;version=1.6.0"
    cache_option="Plugin"
    cache_archive="summa.jar"
    cache_version="1.0.0"
    id="${sessionScope.GombUserData.printAppletId}"
    url="${sessionScope.GombUserData.printAppletSource}">
    <param name="cache_option" value="Plugin" />
    <param name="cache_archive" value="summa.jar"/>
    <param name="cache_version" value="1.0.0"/>
    <param name="id"
    value="${sessionScope.GombUserData.printAppletId}" type="String"
    valuetype="OBJECT" id="id"/>
    <param name="url"
    value="${sessionScope.GombUserData.printAppletSource}" type="String"
    valuetype="OBJECT" id="url"/>
    </applet>
    </f:verbatim>

  • Caching not working

    Anyone else that has experienced that the caching of EntityEJBs does not
    work under wls6.0?
    By watching the monitor we have found that the WLS caches entities during a
    transaction and keeps them there, but the next time any client calls the
    Home-interface of that specific entity, the cache is cleared (and replaced
    by new entities that was activated during the second client call). Any
    ideas?
    Thanks
    Tjodolf Sommestad

    OK, thanks. I'll look into that.
    I do understand that ejbLoad() is invocated. But I still can't understand
    why ALL the entitys of the same type are cleared from the cache?
    If a transaction calls entity A and entity B they seem to be cached by
    watching the monitor. But if I then call entity C in a new transaction,
    entity A and entity B are removed from the cache and replaced by only entity
    C. Why?
    Best
    Tjodolf Sommestad
    "Rod Johnson" <[email protected]> wrote in message
    news:[email protected]..
    This is because the default concurrency has been changed from Exclusive to
    the new Database option. This means that ejbLoad() is always invoked, and
    WLS relies on the DB to resolve locking issues. The upside is thatmultiple
    threads can access different instances of the same entity concurrently,
    improving throughput when many users want the same entity.
    If you want to avoid the invocation of ejbLoad(), you have two options:
    - set concurrency in weblogic-ejb-jar.xml to Exclusive, and db-is-sharedto
    false. This will work only if you don't run a cluster and no other process
    updates the database. This produces the same behaviour as 5.1. It's good
    when concurrency requirements aren't too high.
    - consider using a ReadOnly bean, or the Read-Mostly pattern. See
    http://e-docs.bea.com/wls/docs61/ejb/EJB_environment.html#1074998 for how
    to
    do this.
    Regards,
    Rod
    "Tjodolf Sommestad" <[email protected]> wrote in message
    news:[email protected]..
    Anyone else that has experienced that the caching of EntityEJBs does not
    work under wls6.0?
    By watching the monitor we have found that the WLS caches entities
    during
    a
    transaction and keeps them there, but the next time any client calls the
    Home-interface of that specific entity, the cache is cleared (and
    replaced
    by new entities that was activated during the second client call). Any
    ideas?

  • Lenovo Thinkpad Edge S430 SSD cache not working???

    Hi guys,
    I just got my S430 a couple of days ago. Installed Windows 8 x64 (RTM).
    Everything was working ok. More or less. But now SSD cache just "dissapeared". Whenever I try to initialize it from the computer manager it throws a I/O error, and the installer cannot identify the SSD.
    Ideas? Is it dead? (within a week of buying it!!! )
    If I helped you, please give me some kudos! ^^

    Thanks for your reply, lead_org. My apologies, I didn't see the reply before.
    Is not the mSATA port, but the mSATA SSD. It's being detected, both in W7 and W8, both in this machine and in a Lenovo E420s. But it's not working at all (I/O error, yada yada).
    Thing is, to ask for the warranty, Lenovo wants me to send the whole notebook. And I need it to work, so it's a no-go.
    I guess I just lost 35 bucks of the mSATA SSD cost. :@
    If I helped you, please give me some kudos! ^^

  • SSD Cache Not Working U840 after Clean Install Intel Smart Response Technology

    Hello, I completed a clean install of Windows 8 on my ultrabook model U840 (Core i3, 16GB SSD).  I would appreciate any advice to get the SSD to use the Intel Smart Response Technology (SRT) for SSD Cache.
    I used the Intel Rapid Storage Technology (RST) driver during install and after installing Windows 8 but I do not recieve the option to Accelerate the SSD drive.  I followed the instructions and links contained in this Toshiba Forum post: http://forums.computers.toshiba-europe.com/forums/thread.jspa?messageID=277914
    The computer is supported for Windows 8 upgrade and clean install drivers are available at Toshiba: http://support.toshiba-tie.co.jp/windows8/drivers_cae.htm
    The BIOS is set to default for the drives (Performance). Any advice is appreciated.  Thanks.
    - Red
    Solved!
    Go to Solution.

    If anyone stumbles upon this problem in 2015, i have detailed my solution here
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=81644&tstart=0
    I used a somewhat abbreviated version of this guide myslef, and did have some trial and errors
    http://download.intel.com/support/motherboards/desktop/sb/rapid_start_technology_user_guide.pdf
    I urge you to at least read my post in the other Toshiba forum for a fuller grasp and overview, but I have also attached the two Intel website and PDF links for you.
    Keep in mind that there are seemingly two types or Intel Rapid Cache type options. Follow the instructions in the intel link and one of them will work for you. (I hope it does work for you because i know how frustrating this issue is) 
    Cheers and Best of luck
    Shane 
    Attachments:
    download.intel.com_support_motherboards_desktop_sb_rapid_start_technology_user_guide.pdf ‏349 KB
    Chipset Software — Intel® Smart Response Technology User Guide.pdf ‏506 KB
    Windows 8 Upgrade_ Items that may result in a loss_limitation of features_functionality after upgrading to Windows 8.pdf ‏191 KB
    download.intel.com_support_motherboards_desktop_sb_rapid_start_technology_user_guide.pdf ‏349 KB

  • Total Result is not working properly in QA

    Hi,
    We have requirement to show Total No. of Employees with respect to Age Band and Total No. of Employees in the entire Organization.
    We developed the reports as per the requirement to show employees in the age band <20 Years/ 21-30 Years/31-40 Years and so on by restricting No. of Employees with the dimension AGE.
    <20 Years----21-30 Years-31-40 Years----->50 Years
    0.00 -
    754.00--  425.00--
    120.00
    The query working properly in DEV, but not in QA.
    This is the case with another report also, were we executing to check Total No. of Employees without any restrictions.
    But, when i drill down the report with Org. Unit, it is displaying No. of Employees corresponding to each Org. Unit, but not the total Employees (Overal Result) with all the Org. Units.
    We checked all the properties with respect to info objects and as well as query properties, but no luck.
    Please provide any valuable suggestions.
    Regards,
    RAO.
    Edited by: RAO on Oct 30, 2008 7:30 AM

    Dear Aravindth
      (.*?) means -> Select all contents from where you start and end,
    For Ex. <month>(.*?)</month> then Select for start <month> and end last </month> tag.
    (?) Match zero or one occurrences. Equivalent to {0,1}.
    (*) Match zero or more occurrences. Equivalent to {0,}.
    (+) Match one or more occurrences. Equivalent to {1,}.
    (.) (Dot). Match any character except newline or another Unicode line terminator.
    (.*?) means -> Zero or more times Match any character except newline or another Unicode line terminator + Match zero or more occurrences. Equivalent to {0,}.+Match zero or one occurrences. Equivalent to {0,1}.
    Could you please refere the below cite :
    http://www.javascriptkit.com/jsref/regexp.shtml
    Thanks & Regards
    T.R.Harihara SudhaN

  • RSL Caching not working in Flash Player

    We have built a Flex application compiled into an swf file that uses RSL linkage for the different framework libraries it needs. This has been done to reduce the size of the swf file. We are using the URL of the signed version of the library while building the application. The online documentation suggests that the signed SWZ files are cached by the flash player, so that they are not downloaded every time they are required. The swf file is embedded in a PDF file. Our observation is that when we run the Flex application by opening the PDF file in Adobe reader, the RSLs are not getting cached in the Flash player. If we disable the network connection on the computer that opens the PDF file, the Flex application dosen't load. Is this the expected behavior? Or are we missing something? Although if we open this this FLEX application in browser, it works fine.
    Is there a way in which we can maintain RSL caching in flash player, so that the PDF can be opened in the offline mode as well.
    We welcome your suggestions on this.

    Hi Alex,
    Thanks for your response. Our application uses framework RSL at:
    http://fpdownload.adobe.com/pub/swz/flex/4.6.0.23201/framework_4.6.0.23201.swz
    We discovered today that the problem occurs when we open the PDF in Adobe reader 11 in offline mode. When we opened this PDF in Adobe Reader 10, it works in offline mode as well. I believe there are some differences in the way Flash integrates with Adobe Reader 11: that it uses the system Flash player instead of an embedded one. Not sure if this is the cause of the issue, and if so how to resolve. Any help would be much appreciated.
    Thanks

  • 2.1.0.62: Exporting query results does not work if SQL has a join

    I get an error message, when I try to export the following test case to any data format.
    create table test1 (id number(2), text varchar2(5));
    create table test2 (id number(2), text varchar2(5));
    insert into test1 values (1,'test');
    insert into test2 values (1,'test');
    select t1.*
    from
    test1 t1,
    test2 t2
    where
    t1.id=t2.id;
    I try to translate my german error message to english:
    "There are no valid columns for export available. Clob- or Blob-Columns are currently not supported"
    I get this message, when I right click into the query result grid and select export and then any data format.
    Hope that is not a double post but searching for export did not find results for 2.1.
    The following SQL also produces the error:
    select t1.* from test1 t1;
    These SQLs can be exported though:
    select * from test1 t1;
    select t1.id from test1 t1;
    I should have mentioned that I work with Windows XP and Oracle 10.2.0.4.
    Regards,
    dhalek
    Edited by: dhalek on Oct 13, 2009 5:04 PM

    Hi,
    Dhalek.
    I've got the same problem here.
    In my SQL Dev, I disabled the Autopopup code completion insight in SQL Worksheet. (Tools - Preferences - Code Editor - Code Completion - untick the checkbox). Restart SQL Dev. Tried to export a query.
    The same error message appears.
    My workaround is to re-enable the autopopup and restart SQL Dev.
    The disabled autopopup code completion insight caused me these
    2.1 EA1: Bugs - cannot Export Data from Grid
    2.1 EA2: Bugs on code completion for displaying column name
    Hope this helps,
    Buntoro

  • Cache not working on 4.1 SP 13 w/SSL

    Hi, we are currently running 4.1 SP 13 with SSL and I have noticed from perf-dump that the file cache isn't being utilized. I thought it was enabled by default ? Any Ideas ?
    I realize IPlanet 4.1 is being end of lifed, which is I why didn't bother calling support over this, but until the application vendor gives us an update in a WAR file or servlets that work with 6.0 we are stuck using 4.1.
    On a completely unrelated note, someone should update the text box to allow more characters per line, thus making it easier to cut/paste system files.
    Here is my obj.conf:
    Init fn="flex-init" access="/usr/ns-home/https-secweb-port443/logs/access" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%"
    Init fn="load-types" mime-types="mime.types"
    Init fn="load-modules" funcs="htaccess-init,htaccess-find" shlib="/usr/ns-home/plugins/htaccess/bin/htaccess.so"
    Init fn="htaccess-init"
    Init fn="load-modules" shlib="/usr/ns-home/bin/https/lib/libNSServletPlugin.so"
    funcs="NSServletEarlyInit,NSServletLateInit,NSServletNameTrans,NSServletService" shlib_flags="(global|now)"
    Init fn="nsapi-cache-init" enable=true
    Init fn="NSServletEarlyInit" EarlyInit="yes"
    Init fn="NSServletLateInit" LateInit="yes"
    Init fn="perf-init" enable=true
    Init fn="define-perf-bucket" name="file-bucket" description="Non-cached responses"
    Init fn="define-perf-bucket" name="servlet-bucket" description="Servlets"
    <Object name="default">
    NameTrans fn="pfx2dir" from="/TrmsF" dir="/usr/ns-home/docs2/TrmsF" name="ServletByExt" bucket="servlet-bucket"
    NameTrans fn="pfx2dir" from="/TrmsWeb" dir="/usr/ns-home/docs2/TrmsWeb" name="ServletByExt" bucket="servlet-bucket"
    NameTrans fn="pfx2dir" from="/TrmsO" dir="/usr/ns-home/docs2/TrmsO" name="ServletByExt" bucket="servlet-bucket"
    NameTrans fn="pfx2dir" from="/cgi-bin" dir="/usr/ns-home/cgi-bin" name="cgi"
    NameTrans fn="document-root" root="/usr/ns-home/docs2"
    PathCheck fn="unix-uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-index" index-names="index.html,home.html"
    PathCheck fn="htaccess-find"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    Service method="(GET|HEAD)" type="magnus-internal/imagemap" fn="imagemap"
    Service method="(GET|HEAD)" type="magnus-internal/directory" fn="send-error" path="/nf.htm"
    Service method="(GET|HEAD)" type="*~magnus-internal/*" fn="send-file" bucket="file-bucket"
    AddLog fn="flex-log" name="access" iponly="1"
    </Object>
    <Object name="cgi">
    ObjectType fn="force-type" type="magnus-internal/cgi"
    Service fn="send-cgi"
    </Object>
    <Object name="servlet">
    ObjectType fn="force-type" type="text/html"
    Service fn="NSServletService"
    </Object>
    <Object name="ServletByExt">
    ObjectType fn="force-type" type="magnus-internal/servlet"
    Service type="magnus-internal/servlet" fn="NSServletService" bucket="servlet-bucket"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    <Object ppath="/usr/ns-home/docs2/*">
    PathCheck fn="load-config" file=".htaccess"
    </Object>
    <Object name="jsp092">
    ObjectType fn="type-by-extension"
    ObjectType fn="change-type" type="magnus-internal/jsp092" if-type="magnus-internal/jsp"
    Service fn="NSServletService" type="magnus-internal/jsp092"
    </Object>
    <Object ppath="/usr/ns-home/docs2/.perf">
    Service fn="service-dump"
    </Object>
    Here is the output from perf-dump. Note that the cache has zero entries. It always stays at zero.
    ns-httpd pid: 27965
    ListenSocket #0:
    Address https:\\INADDR_ANY:443
    ActiveThreads 53
    WaitingThreads 52
    BusyThreads 1
    Thread limits 48/1024
    Total Sessions 53/1224
    KeepAliveInfo:
    KeepAliveCount 0/200
    KeepAliveHits 365
    KeepAliveFlushes 0
    KeepAliveTimeout 30 seconds
    CacheInfo:
    enabled yes
    CacheEntries 0/4096
    Hit Ratio 0/274 ( 0.00)
    pollInterval 30
    Native pools:
    NativePool:
    Idle/Peak/Limit 1/1/128
    Work queue length/Peak/Limit 0/0/0
    Server DNS cache disabled
    Async DNS disabled
    Performance Counters:
    Server start time: Thu Nov 6 05:42:07 2003
    Avarage Total Percent
    Total number of requests: 602
    Request processing time: 0.6210 373.8160
    Servlets (servlet-bucket)
    Number of Requests: 602 (100.00%)
    Number of Invocations: 1629 ( 18.63%)
    Latency: 0.0000 0.0228 ( 0.01%)
    Function Processing Time: 0.2277 370.9337 ( 99.23%)
    Total Response Time: 0.2277 370.9564 ( 99.24%)
    Non-cached responses (file-bucket)
    Number of Requests: 264 ( 43.85%)
    Number of Invocations: 264 ( 3.02%)
    Latency: 0.0000 0.0011 ( 0.00%)
    Function Processing Time: 0.0002 0.0609 ( 0.02%)
    Total Response Time: 0.0002 0.0620 ( 0.02%)
    Cache Bucket (cache-bucket)
    Number of Requests: 0 ( 0.00%)
    Number of Invocations: 0 ( 0.00%)
    Latency: 0.0000 0.0000 ( 0.00%)
    Function Processing Time: 0.0000 0.0000 ( 0.00%)
    Total Response Time: 0.0000 0.0000 ( 0.00%)
    Default Bucket (default-bucket)
    Number of Requests: 602 (100.00%)
    Number of Invocations: 6849 ( 78.35%)
    Latency: 0.0000 0.0213 ( 0.01%)
    Function Processing Time: 0.0000 0.0726 ( 0.02%)
    Total Response Time: 0.0000 0.0939 ( 0.03%)

    Has any one had problem like this, plz share to resolve this issue.

  • SharePoint 2010 Cache Not working for Publishing Images Document Library

    Hi
    I am using SharePoint 2010 Publishing Site and have enabled anonymous access.
    I have enabled blob cache and object cache in the site.
    While i was checking with fiddler those objects in style library and other document libraries are cached.
    Whereas the images from the document library Publishing images is not cached; its returning 304 Not Modified status code.
    Is there a way to include the Publishing images to be cacheable as well ?
    Please advise
    Ready for Action

    Did you perform IISreset on all sharepoint server after enabling cache
    http://technet.microsoft.com/en-us/library/cc261797%28v=office.15%29.aspx
    To use the page output cache and the associated cache profile settings, you must be using the Publishing feature on your site.
    http://sharepointinterface.com/tag/caching/
    Wiley went out to SharePoint, checked the article that he wrote, and saw that he did indeed use a series of dynamite sticks for an image. The page should have actually appeared as it does in the screenshot that is above and to the left. After a quick facepalm,
    Wiley realized that he needed to make a change – and fast.
    Wiley went out to the Publishing Images library for the site collection and uploaded a new version of the
    newsarticleimage.jpg image file – one that contained a barrel of TNT instead of a bundle of dynamite. He then browsed to the article page and did a refresh.
    Nothing changed.
    Wiley hit F5 in his browser. Still nothing changed.
    Over the course of the hour that followed, Wiley grew increasingly more bewildered and panicked as he tried in vain to get the new TNT barrel to show up on the article page. He uploaded the image several more times, closed and re-opened his browser, deleted
    and then reloaded the image, re-published and re-approved the actual article page, and even got the administrators to flush the SharePoint BLOB Cache. None of the actions made a difference.
    The Coyote Never Wins
    Why didn’t any of Wiley’s efforts make a difference? Because what Wiley didn’t understand was that there was nothing he could do short of flushing his cache that would prompt the browser to re-request the updated image. The browser started using the cached
    copy of the image after the first request Wiley made in the morning; i.e., the request to verify that the image on the page was incorrect as Fulfillment indicated. For another 24 hours (86400 seconds), the browser would continue to use the cached image.
    Wiley’s image problem was just one of the potential issues that might surface as a result of the BLOB Cache change. It was also one of the more visible problems. In looking at the
    path attribute of the BlobCache element, you might have noticed some of the other file types that got cached by default – file types with
    js (JavaScript) and css (Cascading Style Sheets) extensions, for example. Any of those file types which were served from site collection lists and libraries would also be impacted by the “fetch once and use for 24 hours” behavior.
    If this helped you resolve your issue, please mark it Answered

Maybe you are looking for