Navigation cache

Hi all,
I read that enabling navigation cache improves portal performance.
My question is this: If i enable/disable navigation cache, or modifying any of it's properties in visual administrator - does the portal need to be restarted or the changes take effect immediately?
Also, the properties come with default values: 100 for cache lifetime, and 5000 for number of objects. Are those values the recommended values to use? what should i take into consideration when giving values to these properties?
Thanks,
Moti.

Hi Moti,
If you make changes to the properties in the Visual Admin you will need a restart of the J2EE.
When setting the timeout of the cache it is important to consider the number of navigation object which you are displaying and also the frequency with which they may change.  The good thing about the navigation is, that it should not change that often for a particular user.  So the default timeouts of the navigation cache are not quite as critical as those for something like a content cache.
Besides, a System Administrator can always clear the cache manually, anytime anyway.
Rgds,
Marc

Similar Messages

  • Error in the Navigation Cache after deleting user

    Hi,
    We have an issue with the navigation cache and deleted users. If we delete a user and then tries to log on with a user with the same set of roles as the deleted user, the navigation cache throws an exception
    User USER.PRIVATE_DATASOURCE.un:z_deleteduser doesn't exist!.
    There is no relation between z_deleteduser and the user we logged on with when getting the exception.
    My guess is that the deleted user was the first user with that set of roles that logged in after last time we cleared the cache, and therefore got used as a key to that particular navigation object.
    Does anyone know how to resolve this, I don't want to empty the cache each time we delete a user?
    Regards
    Mattias

    Hi,
    It seems the guided procedure throws the same exception, which makes sense. I don't have a WAS up and running here, so I can't test, but I guess it's the exception the UME throws if you try to access an non existing user, and it just gets propagated both by the Navigation Cache and Guided Procedures.
    But there has to be a fix for it, somewhere...
    Regards
    Mattias

  • Navigation is cached - even when navigation cache is disabled?!

    I seem to have a problem clearing the navigation cache. Whenever I change a role of workset in the PCD, the change is not visible until some time has passed (perhaps 100 minutes, I will try to verify that).
    If I change a page (like inserting a new iView) the change is visible immediatly.
    This sounds like a fairly standard "flush the navigation cache" problem, but that does not solve the problem. I have disabled all the caches in "System Administration -> Navigation -> Navigation cache" and have also cleared all of them just for good measure.
    I have used Firebug in firefox to verify that this is not a browser cache problem. For example I have a folder in the role that contains two pages. I add a third page, flush all browser caches, close the browser and reload the page. In firebug I can see that I get a "200 OK" response that only includes the original two pages - not the new third page.
    I have also tried clearing the PCD cache in "System Administration -> Support -> Portal Content Directory -> PCD Administration -> Release cache". When I do that I can see (again with firebug) that the request is taking slightly longer the first time (around 300ms instead of the usual ~70ms). However, the new page is still not visible.
    The only thing that help (besides waiting) is to restart the entire portal. The changes are then visible immediatly.
    I have even tried clearing the HTTP cache, which also does not help.
    What other caches could there be besides the navigation cache, the PCD cache, the HTTP cache or the browser cache? How can I debug this problem further?
    Thanks in advance.
    Best regards,
    Ole Hyldahl Tolshave
    P.S. We use SEP EP 7.00 SP21
    Edited by: Ole Hyldahl Tolshave on Jun 17, 2010 10:21 AM

    Hi Tobias,
    I tried clearing the DB cache (by using /irj/servlet/prt/portal/prtroot/com.sap.portal.prt.cache.PRTRegionDBClear). No change (change to role is still being cached).
    I used the PCD Inspector and verified that the contents are identical to what I see in Content Administration -> Portal Content (which is different from what is rendered in the top navigation and detailed navigation).
    We only have one server node running.
    I tried deploying the .PAR-file from SAP support (and restarted). This made no changes so now I am waiting for them to get back to me.
    But thank you again for trying to help.
    Best regards,
    Ole Hyldahl Tolshave

  • Navigation Cache - Loading Web Dynpro iview

    Hello Experts,
    I developed a simple WebDynpro that count the access number to a single portal page.
    And I put it in a Role.
    In a cluster environment I had different results depending on the cluster instance I use.
    If I do a Logon in the central instance and navigate the role I get a value of access number.
    If I do a Logon in the dialog instance and navigate the role I get a different value of access number.
    The value in the database is always the same..
    Could it be a cache problem??
    What can I do??
    Best Regards

    Hi,
    Did you try clearing the navigational cache on dialog server and also in Central Instance?
    In Portal Navigate to System Administration - Navigation - Clear Navigation Cache.
    And test the application again and see if it got resolved...
    Or
    Go to Index.html side and go to Web Dynpro Tools, and go to Invalidation of ARFC Metadata Cache - In section Dictionaries Cache Invalidation - click on the button to get teh application using the JCO connection and invalidate the cache...
    Hope this helps.
    Cheers-
    Pramod

  • Page navigation cache delete on back navigation

    Hi,
    Building a Universal WinRT app.
    Is there any way to delete a pages navigation cache when a user navigates backwards via the WP back button?
    e.g. page saves state when user follows link in that page and returns to it. However if a user navigates away from the page using the back button and then returns to it then no state is saved and it reloads
    Thanks!

    Hi,
    Please see this:
    NavigationCacheMode enumeration
    The NavigationCacheMode enumeration has these members.
    Member
    Value
    Description
    Disabled
    0
    The page is   never cached and a new instance of the page is created on each visit.
    Required
    1
    The page is   cached and the cached instance is reused for every visit regardless of the   cache size for the frame.
    Enabled
    2
    The page is   cached, but the cached instance is discarded when the size of the cache for   the frame is exceeded.
    As your description, you should set the Page’s  NavigationCacheMode to Disabled
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Caching on detailed navigation besides navigation cache?

    Hello Everyone,
    We use Btexx EasyWCM as a content management system on our SAP NW portal.
    When we create a new page in the portal it should appear directly in the detailed navigation, but instead it appears much much later, often after more then an hour. The same happens when deleting a page.
    We thought of navigation cache at first but we disabled it and the problem was still there.
    Because the new page does appear after a while, what makes it time-based, we still think it might be a caching issue. We don't know what other caches influence the detailed navigation.
    The page does appear in the PCD (role) directly after it is made, same goes for deletion.
    We tried a restart already, but that didn't resolve anything. And I donu2019t think it's a network problem because the PCD updates instantly. Just the detailed navigation doesn't. Even when we changed the customised detailed navigation back to the standard SAP detailed navigation there was no difference.
    We tried creating a page directly on the server so the caches of the proxy's etc could be excluded and the problem was still there.
    Thanks.

    Hello Sander,
    that's good to hear. But you do not need not turn the navigation cache off.
    easyWCM supports the new Navigation Cache API. If a editor changes navigation structures, easyWCM automatically invalidates the relevant roles from the cache.
    Please check if your SAP Portal release and easyWCM release supports that feature.
    More information are available on our support plattform:
    http://www.btexx.de/support/
    Best regards,
    Michael

  • How to clear portal navigation cache

    hi
    How to clear portal navigation cache

    Hi,
    Refer this link
    http://help.sap.com/saphelp_nw04/helpdata/en/a2/19edcf16474a9798a5681ce4fe4b25/frameset.htm
    EFP: Navigation Caching
    Regards,
    Senthil K.
    [points welcome]

  • Installed Portal Add ON / FORUM / Systemadministration - Navigation Cache?!

    Hi,
    i installed the Add ON FORUM for our Portal.
    I ve restarted the whole Portal after that.. now the Menupoint:
    Navigation Cache under System Administration - Detailed Navigation is gone?
    I only see there: Short URLs... before i installed the FORUM Component there was over "Short URLs" The Point:
    Navigation Cache...?!
    Did anybody knows whats happened there? How can i clear now the Navigation cache?
    Please help.
    regards
    Bjoern

    Hi,
    i searched the whole system but its lost?!?!
    Is there another methode to clear the Navigation Cache? Or did anybody else faced the same problem in the past?
    Regards

  • Navigation cache problem

    Hi All
    While clearing the navigation cache from Portal - System admin , i,m getting the following error :
    java.lang.reflect.InvocationTargetException occurred: null . kindly help.

    Hi Rahul,
    By default the navigation cache is turned off. So check the property portal.navigation.cache.enable which should be true for the navigation cache to work.
    You can check it in Visual administrator in com.sap.portal.prt.sapj2ee under services
    Regards,
    Gourav.

  • Navigation Cache - Object Size

    We're currently in the middle of our upgrade to SP15 and one of the new features we're implementing is the navigation cache.  By default, the number of objects to be cached is set at 5000.  So far the behavior is, all the navigation objects (pages) counts as objects.  Then for each user entering the portal with an unique role combination, an additional set of objects (equaling the number of roles they have) is also added.  In our dev environment where most users are superadmins, we're at around 1300 objects.
    My question is what's an object limit before there's going to be a performance hit with too much memory usage.  Is 5000 a safe limit?  Or can it be higher?  What happens if the object limit is reached, will it be like a queue where the oldest cached object gets deleted when a new one is added?
    Any info on this subject is welcome.  Any experiences with high availability environments using navigation cache would be appreciated.  Thanks

    Hi,
    The Preliminary objective of Navigation Cache is to improve performance on the server-side. By saving the Navigation Nodes in memory, the number of calls to the PCD or any other backend systems is reduced.
    The cache is implemented in a First in - First out manner (FIFO).
    Try this link for more information:
    http://help.sap.com/saphelp_erp2005/helpdata/en/5f/2720a513ea4ce9a5a4e5d285a1c09c/frameset.htm
    Hope it's help
    Best Regards,
    Shimon.

  • Navigation Cache - PCD

    Hello All,
    I need to enable the Navigation Cache in the portal , On System Administration --> Navigation . Currently the Navigation cached for Roles are disabled , When I select click 'Enable', It still shows as 'Disable' , even if I log-off and log-in again.
    Can anyone please suggest what might be the resolution for the same ?
    Regards,
    Ronniee.

    Hi,
    Check this below link
    http://help.sap.com/saphelp_nw04/helpdata/en/a2/19edcf16474a9798a5681ce4fe4b25/content.htm
    Regards,
    Srinivasan

  • Regarding Navigation Cache

    Hi All,
    Can anybody have implemented custom navigation connector to resolve the issue with navigation cache. Here we are facing the issue with Navigation Cache when we are using PCD filters, there is a conflict when we use both.
    What I am trying to do is I want to implement one custom navigation connector from that code I want to disable the cache for groups or roles coming under PCD filter. Can anybody please let me know is there any possibilities to do like that? if yes, could you please guide me how to proceed? I have gone through the below links but I did not get any help with those.
    1) Be Careful When Combining Navigation Cache, PCD Filter
    2) http://help.sap.com/saphelp_nw70/helpdata/en/42/fd19d73b676fb4e10000000a11466f/content.htm
    Regards
    Suresh

    Hi,
    To optimize the report performance we will use it. see
    http://help.sap.com/saphelp_nw2004s/helpdata/EN/41/b987eb1443534ba78a793f4beed9d5/content.htm
    Thanks
    Reddy

  • Clear portal navigation cache from java

    Hi,
    I've written a navigation connector service based on the example in the ep6 pdk. It works fine but if I make changes to its configuration so that some new navigation entries should appear/disappear, it may last up to 2 hours until they show up. I think the portal caches the navigation entries for each user. Is it possible to clear the nav cache  for certain/all users with a java statement?
    thanks in advance,
    Markus

    Hi,
    if you know what you're doing and what the consequences of programming against a not-public API are, you could do the following:
    CacheAccess cacheAccess = CacheAccess.getAccess("prt");
    cacheAccess.invalidate();
    build time dependency:
    compile against j2ee\cluster\dispatcher\bin\ext\com.sap.ip.basecomps\BaseComps.jar
    run time dependency:
    add the SharingReference value SAPJ2EE::library:com.sap.ip.basecomps to your portal component deployment descriptor (dist/PORTAL-INF/portalapp.xml)
    BR, Fabian

  • How to clear the cache in the portal browser

    Hello Experts,
    Iam unable to clear the cache in the portal. I tried  clearing the Navigation cache , PRT cache,PCD cache,Database cache,UME cache.
    The senario is in the browser if iam logging with some user X , he should see only 1,2,3 countries, and if i logg off and again logg in the same browser with different user he is seeing same 1,2,3 countries unlike he should see 4,5 countries.
    But if iam opening in different browser iam getting the correct one with cache cleared.
    I want to acheive this in the same browser.
    Qucik help in solving out this cache problem is appreciable.
    Regrds,
    Manasa.

    There is one more important cache: the HTTP Provider Service cache (in VA).
    To find out why the browser is showing the same languages, analyze what the server is sending to the browser with HTTPWatch or Firebug and look at the cache flag. Also check what is the iView cache parameter? Is it user, session, shared or none?
    How do you do the logoff? The best thing is to make sure that the HTTP Session is killed. If not, the portal may send data that is cached for the HTTP Session to the browser. When you open a new browser, you will also open a new HTTP Session. That could be the cause why it is working with a new browser instance.
    br,
    Tobias

  • A new page doesn't directly appear in the detailel navigation.

    Good day everyone,
    We use Btexx EasyWCM as a content management system on our SAP NW portal.
    When we create a new page in the portal it should appear directly in the detailed navigation, but instead it appears much much later. Often after more then an hour. The same happens when deleting a page.
    We thought of navigation cache at first but we disabled it and the problem was still there.
    Because the new page does appear after a while, what makes it time-based, we still think it might be a caching issue. We don't know what other caches influence the detailed navigation.
    The page does appear in the PCD directly after it is made, same goes for deletion.
    Does anyone have an idea how to solve this issue?
    Thanks in advance.
    Best regards, Sander.

    Hello Anub,
    Thank you for your reaction. We tried a restart allready, but that didn't resolve anything. And I dont think it's a network problem because the PCD updates instantly. Just the detailed navigation doesn't. Even when we changed the customised detailed navigation back to the standard SAP detailed navigation there was no difference.
    We tried create a page directly on the server so the caches of the proxy's etc could be excuded and the problem was still there.
    Greetings, Sander

Maybe you are looking for