Stop caching!

I know you are tinkering with the forum configuration but can I ask you to please switch off the caching. I am getting very tired of having to refresh my browser every time I want to see the latest version of the site - even when it's a change I have made, like posting to a thread.
Caching is a technology suitable for displaying static pages that contain data from some external changing source e.g. database content. It strikes me that it is not appropriate for forum pages which are either static for huge periods of time (tumbleweeds blowing through the database/object-relational forum) or very fast changing (developer/forms, database/general, etc).
Even if there is some performance benefit to be gained from caching web pages (and I would genuinely like to know if there is) it is degrading your users' experience.
If you have been, thank you for listening.
Cheers, APC

Powered by Oracle Application Server PortalThis forum is really not doing any good the last couple of weeks to gain people's confidence in Portal.
Then today this caching problem increased the annoying behaviour of this site.
Glad I'm not using Portal....

Similar Messages

  • How to stop caching

    hi all
    please could someone let me knowhow to stop a JSP page from being cached, which headers do i use?
    thanks

    Try one or more of these:
    response.setHeader("Pragma", "no-cache");
    response.setHeader("Expires", "Tue, 25 Dec 1993 23:59:59 GMT");
    response.setHeader("Cache-control", "no-cache");
    response.setHeader("Last-Modified", "FRI, JAN 29 2099 23:59:59 GMT");
    response.setDateHeader("Expires",0);
    By the way, there's another smooth way of preventing pages in the cache to be fetched, using javascript. In a href or a submit, use javascript, adding a new Date() in the querystring, this will result in a unique request everytime.
    /Ruickard

  • How to set the expires field to stop caching of pages

    I want to set the expires fields of the HTML data on pages delivered by weblogic, so caching servers(ie ISA) and clients dont cache the my pages. How do I do this?
    Thanks for any help

    I guess that's the NI Domain (NI Security Login) user name. Check out Tools->Security->Login in LV main menu.

  • How to stop caching on the server

    Hello,
    Can anyone please guide me as to how do we disable caching on the
    portal server since the changes i am making in the JSP pages are not
    reflected immediately. I have already cleared the browser cache but now i
    want to clear the cache on the portalserver. I have also cleared all the
    class files created when the jsp was compiled but still there is no change.
    If anyone has faced similar problems and can throw some light on it.
    akshay

    Akshay
    I faced the same problem as you did.I went thru what Adrian advisesd and it works.Did
    you update teh correct XML file?.In my case,the weblogic.xml file is whawt holds
    this property and resides in
    D:\wlportal4.0\applications\portal\dp2\WEB-INF\weblogic.xml
    where 'dp2' is the sample portal iam working on.
    I hope this helps.
    - Logesh
    "akshay" <[email protected]> wrote:
    Hi Adrian,
    Thanks again for the quick reply but even this setting
    did not
    work.
    This has created a major development problem and the only way out i found
    was either to restart the server or change the name of the file which
    i am
    accessing. Please suggest some other way to achieve this no caching state
    on
    the server i even cleared the browser cache.
    Thanks in advance
    akshay
    "Adrian Fletcher" <[email protected]> wrote in message
    news:[email protected]...
    Akshay,
    Ok, now I understand your problem. What you need to do is to changethe
    JSP
    operating parameters for this webapp. These parameters are found inthe
    weblogic.xml file associated with your webapp. The reference for thejsp
    descriptor element can be found here:
    http://edocs/wls/docs61/webapp/weblogic_xml.html#1012195
    I think the parameter you need to change is pageCheckSeconds. Ifyou set
    this to 0 then the page is checked every request.
    Hope this helps,
    Sincerely,
    Adrian.
    Adrian Fletcher.
    Senior Software Engineer,
    BEA Systems, Inc.
    Boulder, CO.
    email: [email protected]
    "akshay" <[email protected]> wrote in message
    news:[email protected]...
    Hi adrian,
    Thanks for your quick reply I am not aware about theclustered
    environment but here i have created a jsp page (named first.sjp)
    to
    check
    a
    connection pool i have created which i have placed it along with
    the
    index.jsp page of stockportal and using the following URl i havemade a
    request http://<myportalserver>:7501/stockportal/first.jsp the first
    time
    when i request for this page it works fine -- the data flows perfectlybut
    after making any changes say for example if i change the table name
    from
    where the data is to be fetched
    it does not show me the new data it shows me the data from the previous
    table. whereas if i change the name of the jsp page and request itworks
    fine. I want to disable this caching
    at the server to make this thing work i cleared all the cache ofthe
    browser
    but still could not achieve no cache state.
    thanks in advance
    akshay
    "Adrian Fletcher" <[email protected]> wrote in message
    news:[email protected]...
    Akshay,
    The design of the caching in portal is such that all changes should
    be
    reflected immediately, even across a cluster. However there isone
    outstanding issue around a performance enhancement for the anonymoususer
    case, where this cache is not updated unless the associated .portal
    file
    is
    datasynced. So for changes to the default group either test with
    a
    logged
    in
    user of this group or do a datasync to clear the cache.
    If this does not solve your problem please let us know.
    Sincerely,
    Adrian.
    Adrian Fletcher.
    Senior Software Engineer,
    BEA Systems, Inc.
    Boulder, CO.
    email: [email protected]
    "akshay" <[email protected]> wrote in message
    news:[email protected]...
    Hello,
    Can anyone please guide me as to how do we disable caching
    on
    the
    portal server since the changes i am making in the JSP pages
    are not
    reflected immediately. I have already cleared the browser cachebut
    now
    i
    want to clear the cache on the portalserver. I have also cleared
    all
    the
    class files created when the jsp was compiled but still there
    is no
    change.
    If anyone has faced similar problems and can throw some light
    on it.
    akshay

  • How to stop caching ip address in servlet

    I am using iplanet 6.0 with 2.3.1_02 jvm,
    Is it possible to set the -D option in jvm12.conf to set the ttl not to cache ipaddresses?
    OR Do we have to write the code inside the servlet?

    Experiment. Write a servlet that prints out the IP address of the host "hello.world".
    Stick in "1.2.3.4 hello.world" in /etc/hosts and run the servlet.
    Then change the /etc/hosts entry to "9.8.7.6 hello.world" and see what happens (you'll need to wait out your jvm.options ttl setting, obviously).
    Now to the real point: at least if you are running Solaris, be careful of the name server ttl cache setting. Test it long and carefully before deploying to production. Avoid it if you have a plan B. Seems like there is a pretty ugly bug in there somewhere.
    I run a server that used to have ttl settings. After a couple of days, the server would start throwing UnknownHostException's right and left.
    See bug id 4417030 in BugParade; search more for other possibly related reports.
    Due to threading, Java needs a re-entrant resolver library implementation. I hear writing one is quite hard, and few if any OSs get it right.
    (I do know about the ttl setting for negative lookup results; it ain't that.)

  • How to stop Safari caching?

    When I visit this discussion group in Safari on my iPhone using the link,
    http://discussions.apple.com/forum.jspa?forumID=1274, I often get old versions of the page.
    Is there some way to force Safari to stop caching and get the latest page?

    nedhamilton wrote:
    Is there some way to force Safari to stop caching and get the latest page?
    There is not. However, you can clear your Safari cache in Settting > Safari > Clear Cache

  • How to force write-behind store on cache node shutdown?

    Hi,
    I built a small pilot project based on Coherence and now I test it for failover. I found replication issues with Distributed cache in the following scenario:
    - start cache node 1 (JVM instance 1);
    - connect Extend client to it and get 1 object from cache (only 1 object in the cache - loaded by CacheStore from DB);
    - change the object and put it back (I use EntryProcessor for this);
    - start cache node 2 (JVM instance 2);
    - stop cache instance 1 (write-behind store wasn't invoked yet: write-delay = 2m);
    - load/change the same object on node 2; all changes done on node 1 are lost.
    My expectation was that cache will replicate its data between nodes when new member joins cache cluster. The backup count = 1 by default, right?
    What should I do in order to prevent such behavior? Is it possible to force write-behind store on cache node shutdown event?
    Thanks, Denis.
    My cache-config, just in case:
    <cache-config>
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>AccountCache</cache-name>
    <scheme-name>account-distributed</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <distributed-scheme>
    <scheme-name>account-distributed</scheme-name>
    <service-name>DistributedCache</service-name>
    <serializer>
    <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
    <init-params>
    <init-param>
    <param-type>String</param-type>
    <param-value>account-pof-config.xml</param-value>
    </init-param>
    </init-params>
    </serializer>
    <backing-map-scheme>
    <read-write-backing-map-scheme>
    <scheme-name>AccountDatabaseScheme</scheme-name>
    <internal-cache-scheme>
    <local-scheme>
    <!--scheme-ref>default-eviction</scheme-ref-->
    <eviction-policy>LRU</eviction-policy>
    <high-units>0</high-units>
    <expiry-delay>30m</expiry-delay>
    </local-scheme>
    </internal-cache-scheme>
    <cachestore-scheme>
    <class-scheme>
    <class-name>com.roox.bss.cache.store.AccountCacheStore</class-name>
    <init-params>
    <init-param>
    <param-type>java.lang.String</param-type>
    <param-value>dburl_</param-value>
    </init-param>
    <init-param>
    <param-type>java.lang.String</param-type>
    <param-value>user</param-value>
    </init-param>
    <init-param>
    <param-type>java.lang.String</param-type>
    <param-value>password</param-value>
    </init-param>
    </init-params>
    </class-scheme>
    </cachestore-scheme>
    <write-delay>2m</write-delay>
    <write-batch-factor>.5</write-batch-factor>
    </read-write-backing-map-scheme>
    </backing-map-scheme>
    </distributed-scheme>
    <proxy-scheme>
    <service-name>ExtendTcpProxyService</service-name>
    <thread-count>10</thread-count>
    <acceptor-config>
    <tcp-acceptor>
    <local-address>
    <address>localhost</address>
    <port>9098</port>
    <reuse-address>true</reuse-address>
    <reusable>true</reusable>
    </local-address>
    </tcp-acceptor>
    <serializer>
    <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
    <init-params>
    <init-param>
    <param-type>String</param-type>
    <param-value>account-pof-config.xml</param-value>
    </init-param>
    </init-params>
    </serializer>
    </acceptor-config>
    <autostart>true</autostart>
    </proxy-scheme>
    </caching-schemes>
    </cache-config>

    solved with autostart=true

  • Caching problem in Applets - Java Control Panel

    I have a problem of applets being cached in Java Control Panel. Is there a way in Java to stop caching applets programatically in the Java Control Panel.
    There is one way to stop caching files by unchecking "Keep Temporary Files on my Computer" under Java Control Panel --> General --> Settings page.
    But I want to do this programatically using some Java programming/Java Scripting/some parameter in applet tag.
    Some solutions like setting cache_option = No, cache_archive= jar file name in PARAM tag in applet and classloader_cache="false" have been already tried. But noting is seeming to be working out.
    Can somebody please provide a solution.

    Following is the listener status
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 11-APR-2007 11:51:12
    Uptime 0 days 0 hr. 1 min. 28 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File I:\oracle\product\10.2.0\db_1\network\admin\listener.o
    ra
    Listener Log File I:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=jbpsouthcbg)(PORT=1521)))
    Services Summary...
    Service "jbpsouth" has 2 instance(s).
    Instance "jbpsouth", status UNKNOWN, has 2 handler(s) for this service...
    Instance "jbpsouth", status READY, has 2 handler(s) for this service...
    Service "jbpsouth_XPT" has 1 instance(s).
    Instance "jbpsouth", status READY, has 2 handler(s) for this service...
    The command completed successfully

  • Drop cache group in timesten 11.2.1

    Hello,
    I am trying to drop an asynchronous cache group in timesten. I follow the below steps to do so:
    a) I use the connection string with the DSN, UID, PWD, OracleID, OraclePWD specified
    b) If replication policy is 'always', change it to 'manual'
    c) Stop replication
    d) Drop the AWT cache group (+drop cache group cachegroupname;+)
    e) Create the modified AWT
    f) Start replication
    g) Set replication policy back to 'always'
    After step (d), I get the following error:
    Command> drop cache group cachegroupname;
    +5219: Temporary Oracle connection failure error in OCIServerAttach(): ORA-12541: TNS:no listener rc = -1+
    +5131: Cannot connect to backend database: OracleNetServiceName = "servicename", uid = "inputuid", pwd is hidden, TNS_ADMIN = "/opt/TT/linux/info", ORACLE_HOME= "/opt/TT/linux/ttoracle_home/instantclient_11_1"+
    +5109: Cache Connect general error: BDB connection not open.+
    The command failed.
    Command>
    Does the error suggest that cache connect has a problem? Should I restart the timesten daemon and try again? Please let me know what the real problem is.
    Let me know if you need information.
    Thanks,
    V

    The SQL*Plus problem is simply because you don't have all the correct directories listed in LD_LIBRARY_PATH. It's likely that your .profile (or equivalenbt) was setting those based on ORACLE_HOME and if this is now unset that could be he problem. Check that LD_LIBRARY_PATH is set properly and this problem will go away.
    The character set issues is potentially more problematic. it is mandatory that the Database character set used by TimesTen exactly matches that of Oracle DB when TT is being used as a cache. If the character sets truly are different then this is very serious and you need to rectify it as many things will fail otherwise. You either need to switch Oracle DB back to US7ASCII (this is probably a big job) or you need to change the TT character set to WE8MSWIN1252.
    To accomplish the latter you would:
    1. Take a backup of the TT datastore using ttBackup (just for safety).
    2. For any non-cache tables (i.e. TT only tables), unload data to flat files using ttBulkCp -o ...
    3. Save the schema for the datastore using ttSchema.
    4. Stop cache and replication agents.
    5. Ensure datastore is unloaded from memory and then destroy the datastore (ttDestroy)
    6. Edit sys.odbc.ini to change Datastore character set.
    7. Connect to datastore as instance administrator (to create datastore). Create all necessary users and grant required privileges.
    8. Set the cahce userid/password (call ttCacheUidPwdSSet(...,...))
    9. Start the cache agent.
    10. Run the SQL script generated by ttSchema to re-create all database objects (tables and cache groups etc.)
    11. Re-populate all non-cache tables from the flat files using ttBulkCp -i
    12. Re-load all cache groups using LOAD CACHE GROUP ...
    13. restart replication agent.
    That's pretty much it (hopefully I have not missed out any vital step).
    Chris

  • Unable to refresh cache in SAP PI NW 7.3.1

    Hi All,
    I am unable to perform full & delta cache refresh.
    CR content is not updated(it's below 9.5) -- Does this has anything to stop cache refresh?
    I see SAP_XI_ID_SERV_USER role missing - does this has anything to do with cache refresh?
    what authorizations are required to perform a successful(full & delta) cache refresh?
    Attached is the error which is showing up.
    Please help me
    Thanks,
    Raj

    Hi Dheeraj,
    Have a look at below link
    Missing Authorizations to execue cache refresh for user PICACHEUSER - SXI_CACHE
    CPA CACHE refresh 403 Forbidden - No Authorization with PIDIRUSER or PIDIR<SID>

  • Cache-control, Expires headers

    I want JNLP files and JAR files to be cached by JNLP clients, but I want to prevent them from being cached in a browser / proxy server / ISP server of some sort (anything that would prevent the JNLP client from getting updates).
    To stop a web page being cached I typically use the following:
    response.setDateHeader("Expires", 1L);
    // Set standard HTTP/1.1 no-cache headers.
    response.setHeader(
    "Cache-Control", "no-store, no-cache, must-revalidate");
    // Set IE extended HTTP/1.1 no-cache headers (use addHeader).
    response.addHeader("Cache-Control", "post-check=0, pre-check=0");
    // HTTP 1.0 header
    response.setHeader("Pragma", "no-cache");This works well in stopping caching of web-pages, and it doesn't stop the Sun Java Web Start client (JRE 1.5) from caching JNLP / JAR files (I don't think it's actually checking any of the above headers).
    However, I have read that setting the above headers can cause problems. Does anyone know the official line on this? I couldn't find anything in the JNLP spec.
    If it makes a difference, the app will be deployed only on JRE 1.4 or later.

    LateNightMovies,
    > Hi, thanks for your reply (and sorry for posting my
    question
    > twice)...
    No worries. :)
    > ** unfortunately, your solution doesn't work.
    It's possible I didn't understand what you're after.
    > My objective is to "not have the page stored" (saved) in
    the
    > cache (it contains data I don't want stored in client
    browsers).
    Aha. Nine times out of ten, when people say they want to
    want to avoid
    cacheing, what they mean is, "Get Flash to always ask for new
    data," which
    is what that blog entry describes. If it's important that the
    data not be
    cached at all....
    > Adding a ? var - does ensure the page is always
    retrieved
    > from the server - but it still gets saved in the browser
    cache.
    Right.
    > Eg. my url = page.asp?param=# (random number)
    >
    > The browser cache (Content.IE subdirectories) fill up
    with
    > files = page[1].html, page[2].html, page[3].html,....
    Yup. Well, shoot. This question isn't something I can just
    roll off
    the top of my head, then. :-/ I should think that your HTML
    header would
    take care of that.
    Are you appending the random number in your LoadVars method
    calls? The
    HTML page shouldn't be refreshing at all.
    I know a few people I can ask for futher input, and I'll
    report back to
    this thread.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Prevent servlet caching

    I am having problem with servlet caching. My Servlet keeps displaying
    previously cached image instead of an updated image. I tried out the
    following workarounds and was not successful.
    1. Set the following Response headers
    res.setDateHeader("Expires", 0);
    res.setHeader("Cache-Control", "no-store, no-cache, must-revalidate,
    post-
    check=0, pre-check=0");
    res.setHeader("Pragma", "no-cache");
    2. Set HTML META TAG:
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Expires" CONTENT="0">
    Has anyone experienced a similar issue and can you share your
    worarounds. I even tried setting DateHeader as follows but no luck.
    res.setDateHeader("expires", System.currentTimeMillis()).
    thanks in advace

    And is this servlet actually sending the image itself, or it is sending some HTML that contains a link to the image? If it's the latter, then no amount of saying not to cache the HTML will have any effect on whether browsers cache the linked image.
    Actually now that I read your post more carefully, I see that you are sending HTML which presumably has an <img> tag referring to the image. The browser will download that image as a separate transaction. But if you change the date on the image file to something later, the browser should stop caching it.

  • Photoshop HTML5 extension caches iframe all the time

    I have HTML5 extension in Photoshop CC.
    Adobe Photoshop Version: 14.2.1 (14.2.1 20140207.r.570 2014/02/07:23:00:00) x64
    Operating System: Mac OS 10.9.2
    In my extension I have iframe that points to some extrnal address.
    For some reason PS caches this iframe and does not want to load newest versions of files...
    For example this is index.html that is loaded in iframe:
    <html>
    <head>
    <script src="myscript.js">
    </head>
    <body>
    </body>
    </html>
    When I open extension then myscript.js is loaded properly in iframe.
    Then I upload new version of myscript.js to my server.
    When I restart photoshop and iframe is loaded, the old version of myscript.js is loaded.
    I am sure that myscript.js is not cached on server because when I visit myserver.com/myscript.js in chrome for example I see new version of file.
    And when I debug extension (using CEF debug mode - it looks exacly like chrome debugger) under "network" tab I can see that myscript.js is loaded, but when I preview it, it is still old version of file.
    Is there any option to stop caching on PS side?

    I have exactly the same problem, but In Premiere.
    Did you manage to solve this?
    Thanks,
    Jeff.

  • CE-560 Not caching as CFS size in getting filled

    Hi,
    I have configured CE-560 for http caching by giving CFS file system of about 60Gb space. But it has been observed that every 10 days or so, this space will get filled up and hence browsing comes to a halt. I thing the content is not getting cleared and hence its getting accumulated. If I clear all the http cache manually it will start working.
    Is there any way to solve this so that no manual intervention is required.
    CE560#sh statistics cfs
    CFS statistics
    Disk 0
    Total disk space = 28576841728
    Total disk space used = 28573696000
    Total disk objects read = 7272519
    Total disk objects write = 7371831
    Total bytes of disk read = 49107116544
    Total bytes of disk write = 129403715584
    Disk read errors = 0
    Disk write errors = 0
    Disk 1
    Total disk space = 29788995584
    Total disk space used = 29785849856
    Total disk objects read = 7606048
    Total disk objects write = 7657032
    Total bytes of disk read = 50013465088
    Total bytes of disk write = 134195707904
    Disk read errors = 0
    Disk write errors = 0
    Regards,
    Seetharaman.

    Hi,
    I am not too sure if there is a dynamic way to clear the cache. From what I have been able to gather from the documentation,
    The cfs clear command deletes nonbusy objects from the specified cfs volume. A nonbusy object is an object that is not being accessed (read or written). The cfs clear command (without force) deletes all possible objects without generating a broken GIF or HTML message to the client.
    The cfs clear force command deletes all objects, busy or nonbusy, and may generate broken GIF or HTML messages for objects that were being read from the disk when the command was executed. If an object is being written to the Content Engine disk when a cfs clear force command is executed, the application stops caching that object but still delivers the object from the web server to the client.
    You could also use the clear cache command which removes all cached contents from the currently mounted cfs volumes. Objects being read or written are removed when they cease being "busy." The equivalent to this command is the cache clear or cfs clear command.

  • Opera browser caches .jsp pages

    Opera caches .jsp pages.
    This is serious and very annoying because it means that even if I click on the link that leads to the .jsp page I don't see a page with the current situation, but an older one.
    I know that you just use pragma, no-cache etc. in the page to stop caching, but if you use that solution, it also means that you can't use the back button because you won't find the page anymore.
    What I want to do is to say, if the browser is Opera, don't take the cached page, make me a new one.
    Anyone know how to force it not to take a cached page?
    Any help appreciated.

    Are you sure it is Opera, and not a Proxy? We had a problem that looked like the browser but was actually the proxy (because the user that reported it was the only person behind the proxy). At any rate, we handled proxy caching AND browser caching using fake URLS. E.G., When we had a page like http://site/page.jsp that could not ever be cached, we added a bogus parameter that was guaranteed to be unique: http://site/page.jsp?bogusParam=1AFFSDD2. That way the URL was never the same twice and even if the browser or proxy cached it wouldn't matter. Another option if you are using a servlet is to use the path:
    http://site/myservlets/servlet
    becomes:
    http://site/myservlets/1AFFSDD2/servlet
    and you just map that servlet to myservlets/*.
    More hassle, but at least it is workable.

Maybe you are looking for

  • Word documents won't open in Lion

    I installed Lion and now my Word documents won't open. I tried to open them with Pages but that didn't work either. Any suggestions?

  • Win 8 admin problem

    I use win 8.1 and I have one user called goksen and it has administrative previliege and also default administrator account is disabled, uac is disabled as you see in control panel picture I can't change to standart account this is normal but in seco

  • My creative cloud apps won't load?

    Every time I open Creative Cloud and go to "Apps"  it just keeps loading and never stops...what do I do?

  • Graphic update method

    I have moving Graphics in a JPanel that are updated via Runnable with a call to repaint. I'm working on changing my code to help reduce image flickering. Based on my research, it seems I should make use of the update method along with repaint to redu

  • Russian Language Installtion

    Hi I want to Install Russian Language on ECC 6.0 DB : oracle 10g OS: Red hat Linux Can you please guide me How to Download >PAT file for Russian Language