Configuration to control browser caching

Hi all, 
Am looking for the configuration of the portal settings for browser cache control.  I mean at the portal level that affects all PCD objects.  I took a look around and found  System Admin / Support / Services com.sap.portal.contentfetching service which specifies whether the browser cache is used or not.
I could not find the location that specifies how long the files are held in the browser cache.  Does anyone know this?
This is critical to set up properly because it appears our config has the files valid for 3 weeks in the browser.  The theme and logon page changes don't show up unless you delete the browser cache.  Obviously this is not possible for a large user community!
--Amy Smith
--Haworth

Hi Amy,
Did you check below help link for validity periods
http://help.sap.com/saphelp_nw04s/helpdata/en/1c/3f1c409ce22402e10000000a1550b0/frameset.htm
Koti Reddy

Similar Messages

  • Session state and browser cache - Back button problem

    Hi all,
    I have a problem (and unless I'm missing something I think we all do) with session state and use of the browser's Back button. I really hope I'm just being dumb...
    Background scenario:
    Page P has a sidebar list allowing the user to select what content is displayed (e.g. 'stuff relating to X, Y or Z' where X, Y and Z are rows in, say, a table of projects). When a list entry is clicked, we branch to page P with the value of the list item placed in an application-level item (call it G_PROJECT). Reports on page P use G_PROJECT in their WHERE clauses.
    So, click list entry X and G_PROJECT is set to X and page P shows reports for project X.
    Page P also has a set of buttons which branch to various edit pages which allow attributes of page P's current project to be updated. These pages similarly use G_PROJECT in their WHERE clauses.
    Problem scenario:
    1. The user goes to page P and picks project X off the list. Project X's stuff is displayed (G_PROJECT = X).
    2. The user then picks project Y off the list. Project Y's stuff is displayed (G_PROJECT = Y).
    3. The user then clicks the browser's Back button. The page is served from browser cache, so project X's stuff is displayed, but G_PROJECT still = Y.
    4. The user clicks an 'Edit' button; we submit, and branch to an edit page which displays (and will edit) data for project Y because G_PROJECT still = Y.
    This is SERIOUSLY BAD NEWS - apart from being confusing, the user's edit permissions on projects X and Y may differ, and so the user may be able to perform 'illegal' updates.
    I've read what I can on this forum and the rest of the web looking for ways to a) inhibit browsers' 'Back' functions and/or b) prevent pages being cached by the browser, but none of them have worked for me.
    Short of waiting for browser manufacturers to recognise that the web is now full of applications as well as static pages, and enable robust programmatic control of cache behaviour, does anybody know how the problem can be avoided - or at least detected?
    Thanks,
    jd
    Failed attempts to date:
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="cache-control" content="no-store">
    <meta http-equiv="cache-control" content="private">
    <meta http-equiv="cache-control" content="max-age=0, must-revalidate">
    <meta http-equiv="expires" content="Wed, 09 Aug 2000 01:01:01 GMT">
    <meta http-equiv="pragma" content="no-cache">
    Disallowing duplicate submission (page attribute).
    window.history.go(1);

    Thanks Scott,
    I may be being dumb here but I don't see how that would help...
    P250_PROJECT and G_PROJECT are currently kept in sync by app logic. Whichever is used to drive, if the page is rendered from cache then the app logic is not executed, so the rendered page contents are not those keyed by P250_PROJECT, as illustrated in steps 1-4 of the problem above.
    The user sees X, the session items say Y. The engine doesn't know what the user is seeing.
    when page P is POSTed, its hidden item P250_PROJECT should always be used to derive the application item G_PROJECT. Then whether the page was pulled from cache or rendered anew via a click from the sidebar link, the project ID is determined by the contents of that page.
    As I said above I tried this, with the 'Edit' branch set to:
    Set these items: G_PROJECT
    With these values: &P250_PROJECT.
    but it makes no difference. The project ID is not determined by the rendered page contents - the engine gets the value of P250_PROJECT from session state.
    I can code the 'Edit' pages such that they check permissions and if necessary redirect back to p250 (conditional before-header branch), but that's a clunky cure rather than the prevention I was hoping for.
    Please tell me if my understanding is incorrect.
    jd

  • Browser cache ignore no longer works after windows update

    Just thought I'd share that after the windows update I did
    this week, the browser cache blocking trick described in many
    places where you put ?r=<randomnumber> at the end of a URL no
    longer works. Not exactly sure what happened, but it now causes a
    URL not found error, at least for me when I'm loading local files
    off my disk.
    This thread talks about the cache blocking trick:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15&catid=665&threadid =1357763&highlight_key=y&keyword1=cache

    Here's a technique I use. In a php file:
    header("Expires: Mon, 20 Jul 1997 05:00:00 GMT");
    header("Cache-Control: no-store, no-cache, must-revalidate");
    header("Cache-Control: post-check=0, pre-check=0", FALSE);
    header("Pragma: no-cache");
    This must be wrapped in php tags.

  • Browser.cache.check_doc_frequency=1 doesn't work

    Hi guys, running FF27.01 on W7SP1.
    I have a lot of tabs open and I set FF to reopen them at every launch, my problem is that FF hardly ever checks whether those webpages were updated when I reopen it....Opera, Chrome & IE do it, why not FF? Who could possibly want to read an outdated webpage?
    So I did set "browser.cache.check_doc_frequency" to "1"(I tried all possibilities actually), now FF is kind enough to check whether the webpage was updated on some sites....very few sites actually.
    This is a known issue from what I found running a google search and the solution was either to clear the cache when FF closes or to use Chrome...I don't like either of those two options.
    This is my problem: https://support.mozilla.org/en-US/questions/754829
    Is this a bug? Am I missing something here?
    Hope you can help, I'm getting tired of being forced to manually refresh every tab :(

    It makes no sense to allow the browser to remember the open tabs from the previous session, add a hidden "browser.cache.check_doc_frequency=1" configuration option and ignore it altogether.
    Whatever IE, Chrome or Opera are able to remember the open tabs from the previous session and chech whether they've been updated.....it's hard to believe that the FF team finds the contrary acceptable?
    I couldn't locate any extension that would get FF to stop living in the past, I guess I'll install Chrome or Opera as it seems that this bug will never be fixed. Too bad I really like FF but manual refreshes are getting old.
    But it's definitely a bug as setting this option to "1" makes some webpages(head-fi.org for instance) auto-update but not others(forum.doom9.org), something's fishy in the HTTP headers checks.

  • Controlling EJB Cache & Warning BEA-010001 in 8.1

    Background: Migrated from 6.1 to 8.1. Using CMP with template.j modified (migrated).
    Problem:
    1. Could not use any Entities which uses Entity Cache. It throws weblogic.ejb20.cache.CacheFullException
    during ejbLoad. My existing Cache parameters are (anyway, it is no different from
    6.1 where itz working fine)
    <pool>
    <max-beans-in-free-pool>100</max-beans-in-free-pool>
    </pool>
    <entity-cache>
    <max-beans-in-cache>100</max-beans-in-cache>
    <idle-timeout-seconds>610</idle-timeout-seconds>
    <read-timeout-seconds>60</read-timeout-seconds>
    <concurrency-strategy>Database</concurrency-strategy>
    </entity-cache>
    Is there any new configuration which needs to be set for 8.1? Redirection to
    some checklist for controlling there cache parameter would be helpful?
    2. While deploying my Beans it shows up Warning BEA-010001. Documentation says,
    specify in weblogic-ejb-jar.xml<weblogic-ejb-jar> <disable-warning>BEA-010001
    | BEA-010054</disable-warning>..</weblogic-ejb-jar>. I have thousands of beans
    deployed in the server my warning message dumps my console with these messages
    hiding critical error messages. Is there any 'additional parameters' to stop
    this warning or route this warning to a separate log file?
    TIA
    JAK

    Hi Jak,
    max-beans-in-cache equal 100 is way too low for any real life application.
    I'm not sure why it worked for you in 6.1. I remember setting it was broken
    in 6.1 at some point.
    Regards,
    Slava Imeshev
    "jak" <[email protected]> wrote in message
    news:3f07e7c9$[email protected]..
    >
    Background: Migrated from 6.1 to 8.1. Using CMP with template.j modified(migrated).
    >
    Problem:
    1. Could not use any Entities which uses Entity Cache. It throwsweblogic.ejb20.cache.CacheFullException
    during ejbLoad. My existing Cache parameters are (anyway, it is nodifferent from
    6.1 where itz working fine)
    <pool>
    <max-beans-in-free-pool>100</max-beans-in-free-pool>
    </pool>
    <entity-cache>
    <max-beans-in-cache>100</max-beans-in-cache>
    <idle-timeout-seconds>610</idle-timeout-seconds>
    <read-timeout-seconds>60</read-timeout-seconds>
    <concurrency-strategy>Database</concurrency-strategy>
    </entity-cache>
    Is there any new configuration which needs to be set for 8.1? Redirectionto
    some checklist for controlling there cache parameter would be helpful?
    2. While deploying my Beans it shows up Warning BEA-010001. Documentationsays,
    specify in weblogic-ejb-jar.xml<weblogic-ejb-jar><disable-warning>BEA-010001
    | BEA-010054</disable-warning>..</weblogic-ejb-jar>. I have thousands ofbeans
    deployed in the server my warning message dumps my console with thesemessages
    hiding critical error messages. Is there any 'additional parameters' tostop
    this warning or route this warning to a separate log file?
    TIA
    JAK

  • Clear the Browser cache while Outputting PDFs

    Hi,
    I am using Servlet to output a PDF (Streams), i am facing Browser cache problem in IE
    since i am setting Content type to PDF as follows...
    response.setContentType("application/pdf")
    i could not able to use follwoing Clear the Browser Cache
    response.setHeader("pragma", "no-cache");
    response.setHeader("Cache-Control", "no-cache");
    response.setHeader("Cache-Control", "no-store");
    response.setDateHeader("Expires", 0);
    the above code is not working fine in Netscape but not in IE.
    Can any one help me out in this.
    Regards
    SAM

    Hi,
    I have a problem with pdf file also, everything working fine in IE and
    netscape, but when I tried the streaming of pDF document from my
    servlet in response to a request from Opera browser it failed.
    the url may give some idea,
    http://localhost:8080/pdf/pdfdownload?PDF_FILE=abc.pdf
    here pdfdownload is my servlet, and code I used to stream like following
    public service(HttpServletRequest req,HttpServletResponse)
    ServletContext sc=getServletContext();
    String mimeType=sc.getMimeType((String)
    req.getParameter("PDF_FILE"));
    res.setContentType(mimeType);
    File pdf=new File((String)req.getParameter("PDF_FILE"));
    res.setContentLength((int)pdf.length());
    InputStream in=new FileInputStream(pdf);
    OutputStream os=res.getoutputStream();
    byte[] buf=new byte[1024];
    int count=0;
    while(in.available>0)
    count=in.read(buf);
    os.write(buf,0,count);
    the detailed code kept out for simplicity, but the idea is pretty
    much is this.
    Now, opera opening the stream for a file name pdfdownload and
    storing locally and then opening my acrobat reader, the second
    time if called it trying to create another file by name
    pdfdownload (1)? xxxx where ? is an unknown character, this is
    where it's failing, unable to create the file so failing to open
    the pdf file. what best process would be to follow in servlet so
    the streaming works in all browser, I have seen many link in sun
    sites, opening up pdf but it seems they all are stream, and my
    opera can identify their size and file name distinctly and saving
    them accordingly, any solution ???
    thanks
    Jishu

  • Oracle Lite web browser cache problem

    Hi,
    I have developed a web application based on jsp and servlet.
    The application works correctly if the User works "On-Line".
    When the user works "off-line" the application seems to work correctly, but pages (jsp) are not refreshed and the user gets old page versions (from browser cache).
    The problem does not occur in "on-line" mode.
    Thankx,
    Massimiliano Gugnali

    ya i installed oracle in client system. I think we have to add the user name in oracle server system at this path ( start -> settings -> control pannel -> Administrate tools -> Local Security Policy -> ..)
    Am i right?
    Thanks

  • Cache-Control: no-cache

    I have Web Cache set up with an Apache Server and it is returning requests from the cache. I have a response monitoring tool that sends the HTTP 1.1 Cache-Control: no-cache header on the request but Web Cache still returns from cache rather than getting the page from the server. The only configuration option appears to control honoring of response headers not request headers. Shouldn't Web Cache always honor request headers?

    Hi,
    Yes, it should and will, as far as I have seen, honor request headers too. But, AFAIK, "Cache-Control: no-cache" is a reposne header (as given in HTTP RFC):
    http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.1
    So, specifying this in the request doesn't have effect.
    Hope this helps.
    Regards,
    Priyanka
    Oracle Web Cache Team

  • Avoid browser caching after log out

    Hi all
    Once i logout. i am able to go in to the application using the browser back button .
    how to restrict this back action after log out .
    i tried with the header
    session.invalidate();
    response.setHeader("Cache-Control","no-cache");
    response.setHeader("Cache-Control","no-store");
    response.setDateHeader("Expires", 0);
    response.setHeader("Pragma","no-cache");
    but dint help me .
    also tried with
    javascript:window.history.forward(-1);
    it also dint work .
    my browser is Firefox/3.0.13
    any suggestions.

    hi
    once i click on logout link .it reaches to my servlet and there i am setting the header and then forwarding to the login page again.
    so i dint understand " you should disable caching at the top of your views"
    can u please explain it.
    public void doGet(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException
            HttpSession session = request.getSession(true);
            session.removeAttribute("flag");
            session.invalidate();
            response.setHeader("Cache-Control","no-cache");
            response.setHeader("Cache-Control","no-store");
            response.setDateHeader("Expires", 0);
            response.setHeader("Pragma","no-cache");
            System.out.println("i have reached here ");
            dispatcher = getServletContext().getRequestDispatcher("/index.jsp");
            dispatcher.forward(request, response);
           }i tried putting the above header lines in jsp also ...
    but the result is same it allowed me to navigate in to the application using back button .
    I have googled for a solution ...but was not able to land with a solution .
    Kindly suggest
    Thanks in advance

  • How many ways to turn ON browser cache?

    Would you please contribute your ways to turn on
    browser cache?
    Points guaranteed. Thanks!

    Hi Jennifer,
    first of all you have to configure you browser to switch on browser cachings. Usually, browser caching is switched on by default. To find out where to switch on browser caching for your web browser ask the vendor or post the name of your browser here.
    Secondly, you can configure client-side caching (browser caching) for every portal page and every iView seperatly. The second link provided by Senthil points you to SAP Library section <a href="http://help.sap.com/saphelp_nw04/helpdata/en/5f/2720a513ea4ce9a5a4e5d285a1c09c/frameset.htm">Caching</a>.
    Basically, you have to set the property "Allow Client-Side Caching" to the value "Yes".
    Best regards,
    Martin

  • Weblogic setting Cache-control: no-cache?

    I have a servlet filter that sets the Cache-control http header to "max-age=30" for static files such as *.css but in the end weblogic sends the value "no-cache".
    When the browser asks for the same static file again weblogic responds with http 304 and Cache-control "max-age=0" thus overriding my filter again.
    Is there any way to change the client side caching in weblogic (10.3.4)?
    (btw the servlet filter works in tomcat)

    Hi,
    1. response.setHeader("Cache-Control","no-cache");
    This is used to prevent the browser from caching your dynamic content generated by a JSP or Servlet.
    You set this attribute in the HTTP header of the response object which would tell the browser not to cache this content. So everytime you request the page again, the browser would make a new request, instead of showing you a cached page.
    2. response.setHeader("Location", "error.html");
    This is called redirecting. "Redirecting" is sending a response from your servlet to the browser telling the browser to go to a new location(make a new request)
    The standard way to do this response.sendRedirect(String);

  • Firefox Browsing caching issues when using OBIEE

    We have experience a problem when using Firefox. It seems the browser caches the results, of an analysis for example, and even though we have made changes to the data, flushed the OBIEE cache, we still see older results because the older results were cached in the browser. We have to go to options -> history -> clear recent history to get the new results. (And sometimes this doesn't seem to do the trick.)
    Anybody else seen this problem or have a resolution?
    Thanks,
    Brian

    There are different caches in OBIEE. Probably you hit stale entries in "Presentation Server Cache".
    This can be controlled by adding the following to your instanceconfig.xml
    <CacheMaxExpireMinutes>5</CacheMaxExpireMinutes>
    see also here:
    http://obiee101.blogspot.ie/2008/11/obiee-presentation-services-cache.html
    or here:
    http://unleashobiee.wordpress.com/2011/01/12/purging-obi-server-and-presentation-server-cache/

  • To use browser cache

    After a contents is gatewayed through the portal, 'Cache-Control' value is setted as 'no-store, no-cache' even though it is setted to use cache from the remote server.
    We need to use browser caching function, but with the 'Cache-Control' value resetted in the portal while it is gatewayed, we cannot use browser caching function.
    Is there anyway to keep 'Cache-Control' value to use browser caching when a content is gatewayed through the portal server?
    Thanks,Young-Jin

    The bug is related to client browser caching, but is rooted in the gateway. As you've noted, the gateway is erroneously adding no cache headers to the response for certain content types, thereby preventing the browser from caching them.
    ...stephan------- Young-Jin Kim wrote on 4/26/04 1:39 AM -------
    Danil,
    Is that right you are talking about browser caching?Actually, we want to use client browser caching.The bug that you said is related to client browser caching or gateway caching?

  • When I publish my site on one specific page where i've added {tag_pagecontent} I get the error:Some files on the server may be missing or incorrect. Clear browser cache and try again. If the problem persists please contact website author.

    When I publish my site on one specific page where I've added {tag_pagecontent} I get the error:
    'Some files on the server may be missing or incorrect. Clear browser cache and try again. If the problem persists please contact website author.'
    I'm trying to get a blog module going, I've even deleted the html insert bog with the tag in and re-published which then I don't get the error but as a result no blog either. But then I add the tag in again and publish the error comes back. I've used the dev console and it says that my musicians sample.css is out of date but why is it only out of date when I add in html to my muse site?
    HELP!!!! I've searched other threads and to no avail I'm publishing so no direct ftp going on. the only thing I changed in business catalyst was the module stylesheet in order to style the blog. I've tried uploading and replacing all files nothing seems to work. the site is here:
    http://www.musicstudentsforhire.co.uk/musicians-samples.html
    It's only this page as it has the blog on. Also I've noticed when I've re-published occasionally it will show the mobile version on my desktop and not the desktop version??? no idea why that's happening so I've had to turn that off. any explanation on why that is happening would also be much appreciated.

    I haven't received an answer as of yet, I'll post t on here when I do. I de-activated the mobile site because it's my clients site so he needs it to be operational during the day. I hope someone gives me an answer soon.

  • Can't get browser.cache.disk.parent_directory to work

    I've tried to use the browser.cache.disk.parent_directory method to move my disk cache, but this isn't working.
    Details:
    I did a clean install of Firefox 22 on Vista, and then, following instructions, went into about:config, created the browser.cache.disk.parent_directory key, and gave it the value of a directory I had created.
    I then visited many different sites (no, not in private browsing mode), and noticed nothing was being saved there. In fact, the new directory is absolutely empty (no hidden folders either).
    Looking at about:cache, I am informed:
    Offline cache device
    Number of entries: 0
    Maximum storage size: 512000 KiB
    Storage in use: 0 KiB
    Cache Directory: C:\Users\XXX\AppData\Local\Mozilla\Firefox\Profiles\XXX.default\OfflineCache
    And yes, browser.cache.disk.enable is set to true.
    This is true regardless of whether I am using my admin account with no extensions or my standard user account with several extensions.
    Advice?

    the-edmeister, I carefully read the material in your link before making the changes, and then again before posting this question, and yet again now. I hate to be snide, but can you point out what there is in this link that addresses my question? (And yes, browser.cache.disk.capacity is obviously set to a positive value.)
    If it helps, I'm attaching a screencap from about:config.

Maybe you are looking for

  • Select Contracts based on Ship-to Party

    Hi all, I have created two contracts of type ZCQ (VA41) with the following soldto and shipto party values. Contract 1: soldto1, shipto1 Contract 2: soldto1, shipto2 <b>Now I need to retrieve contracts, based on a search criteria consisting of Sold-to

  • Can't add m4a files in itunes

    When I try to add m4a files in itunes it did not add it. Please help how can I add m4a files in itunes.

  • Inbound Processing for cremas

    I am getting CREMAS idoc from SAP to my SAP system. When it comes to my system, i dont want that to create a new vendor number instead update or overwrite the exixiting vendoe number. Can anyone lemme know how i can do that

  • Edit PSA data, infobject cannot see

    Hello BW Experts, My PSA only shows 99 infobjects. I need to edit the infobject 110. To view the IOB1 and its value: I go to PSA > change variants > select the infobect IOB1 and now I could see the infobject and its values that I want to edit. To edi

  • RE: PRODUCTION ORDER

    Dear Sap Experts, Please note that i  have issued 100 qty for prod dept against an Production order......But the user dept have used only 50....balance 50 i have to take back...how to map this in SAP.. one more thing....while issuing my material cost