Add timestamp to all links (circumvent proxy server cacheing)

Hello,
we found some proxy servers cache the jsps, so we've been putting a timestamp on the links so when the user clicks on them it looks like a different request to the proxy server. does anyone know of a good way to do this for all links in a webapp? i tried using filters, but didnt come up with a good way to rewrite the links. encodeURL() only appends the session id, which is the same for a person's session and only if cookies aren't available. i guess we need a way to append the timestamp, requestID or something unique to each request. anyone know of a good or best way to do that? my best candidate now is a jsptag that takes in the url and parameters normally in the href but inserts a timestamp. any better way?

we don't control all the proxies. so we need a
solution that is bigger then any of the customer's
proxy settings.Sorry, that's not what I meant, what I meant was sending HTML headers that tell proxies not to cache the page. Read the link on my previous post to see.

Similar Messages

  • How can I force an ISP to refresh a file in proxy server cache?

    Hi all,
    In my applet I am getting a remote file. But with some ISP's I have the problem that when I try to get that file again I get the older version which they had in their proxy servers cache.
    Is it possible for me to enforce refresh on this ISP's proxy server with some code in the applet or in the web page or in any other way?
    If yes, how?
    I would appreciate your answers very much, because I am in an urgent and desperate situation.
    Thanks and bye.

    If you are using URLConnection
    myURLConnection.setRequestProperty("pragma:","no-cache"Actually, the 'pragma' header is an HTP 1.0 (old) concept. The one for HTTP 1.1 is 'Cache-Control'. That said, you should always use both to support old/new browsers.
    You could also use the following headers :
    Expires, must-revalidate, proxy-revalidate etc...
    You could also implement a getLastModified() method in your servlet, which returns the time (as a long) at which the content was last changed. The server could then intercept 'If-Modified-Since' requests.
    Keep in mind that, because of several notorious browser bugs ( http://www.web-caching.com/browserbugs.html ), it can be difficult to effectively turn off caching across the board.

  • Web Proxy Server - Cache Windows Updates

    I''ve just installed Sun Java System Web Proxy Server 4.0.9 on our Network, but I'm having a hard time getting it to cache Windows updates.
    Any help?

    And here is the obj.conf file:
    I would like it to cache as most as possible, inlculding windows updates.
    # You can edit this file, but comments and formatting changes
    # might be lost when the admin server makes changes.
    # Use only forward slashes in pathnames--backslashes can cause
    # problems. See the documentation for more information.
    Init fn="init-proxy" timeout="300" timeout-2="15"
    Init profiling="on" fn="stats-init"
    Init byteranges="On" fn="tune-cache"
    Init access="$accesslog" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->vars.p2c-cl% %Req->vars.remote-status% %Req->vars.r2p-cl% %Req->headers.content-length% %Req->vars.p2r-cl% %Req->vars.c2p-hl% %Req->vars.p2c-hl% %Req->vars.p2r-hl% %Req->vars.r2p-hl% %Req->vars.xfer-time% %Req->vars.cch-status%" no-format-str.access="yes" fn="flex-init"
    Init cache-size="1024" expire="3600" negative-dns-cache="yes" fn="host-dns-cache-init"
    <Object name="default">
    AuthTrans fn="match-browser" browser=".*MSIE.*" ssl-unclean-shutdown="true"
    NameTrans fn="assign-name" name="stats-xml" from="(/stats-xml|/stats-xml/.*)"
    PathCheck fn="url-check"
    ObjectType fn="block-ip"
    ObjectType fn="cache-enable" cache-auth="1" min-size="0" max-size="512000" cache-local="1"
    ObjectType fn="cache-setting" term-percent="100"
    Service fn="proxy-retrieve"
    AddLog fn="flex-log" name="access"
    </Object>
    <Object name="file">
    PathCheck fn="nt-uri-clean"
    PathCheck fn="find-index" index-names="index.html"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    ObjectType fn="cache-enable"
    Service fn="send-file"
    </Object>
    <Object ppath="ftp://.*">
    ObjectType fn="cache-enable" query-maxlen="10" log-report="off"
    ObjectType fn="cache-setting" lm-factor="0.10" max-uncheck="43200"
    Service fn="proxy-retrieve"
    </Object>
    <Object ppath="http://.*">
    ObjectType fn="cache-enable" log-report="off" min-size="0" max-size="512000" cache-auth="1"
    ObjectType fn="cache-setting" lm-factor="0.00" max-uncheck="43200" term-percent="100"
    Service fn="proxy-retrieve" method="*"
    </Object>
    <Object ppath="https://.*">
    Service fn="proxy-retrieve"
    </Object>
    <Object ppath="gopher://.*">
    ObjectType fn="cache-enable" query-maxlen="10" log-report="off" cache-auth="1" min-size="0" max-size="512000"
    ObjectType fn="cache-setting" lm-factor="0.10" max-uncheck="43200"
    Service fn="proxy-retrieve"
    </Object>
    <Object ppath="connect://.*:443">
    ObjectType fn="cache-enable" cache-auth="1" min-size="0" max-size="512000"
    Service fn="connect" method="CONNECT"
    </Object>
    <Object ppath="connect://.*:563">
    ObjectType fn="cache-enable" cache-auth="1" min-size="0"
    ObjectType fn="cache-setting" term-percent="100"
    Service fn="connect" method="CONNECT"
    </Object>
    <Object name="stats-xml">
    Service fn="stats-xml"
    </Object>

  • Forcing a page to refresh in proxy server cache

    I am accessing an externally hosted web server that uses jsps and dowbloads .jar files to the browser. We have a round robin auto-proxy URL that routes the browser user via one of a number of physical proxy servers. Some recent issues with out of date versions of applets loading are thought to be caused by the cacheing at the proxy servers. Can I force the pages to load from the remote web server (a) at run-time, within the browser session, and (b) via tags in the page source?
    Thanks.

    I need a solution to the same problem too, desperately. The proxy caching of some ISP are disturbing my applet from running properly.

  • Reverse Proxy Server and gzip compressed pages

    Hi ALL!
    Does Proxy Server in reverse proxy configuration works with gzip compressed pages? How it will serve different browser versions which are supports compression differently.
    Thanks. Happy New Year!

    Hi,
    Domain relaxing will not work in this setting, ref. RFC 2109 http://www.ietf.org/rfc/rfc2109.txt
    What you need to do is to create a DNS alias for the portal on domain [something].[company].com. Then create a portal component which returns the MYSAPSSO2 cookie and create an URL iView for it with the DNS alias hostname and add it to the default framework page. In this way, persons logging in will get the MYSAPSSO2 cookie for both domains [sap subdomain].[network domain].local and [network domain].[company].com
    Regards
    Dagfinn

  • Wireless auto proxy server OS X

    Hi,
    With IOS you are able to assign a proxy server per Wireless connection, but I can not see how to do this via OS X, when im at work I have to manually enter the proxy settings for both HTTP and HTTPS then remove them when I get home.
    There must be a way to do this but I can not seem to find anything.
    I would be greatful for any advise on how to do this.
    Thanks in advance.

    Hi Linc,
    Thanks for he response, that will save me a lot of effort
    Take it there is no way to link the proxy server to the wireless so it is automatic then?
    From what I have read about the locations, which I have already setup, but a manual switch is required to change. I know this makes me sound very lazy, but was just wondering if it is possible.

  • Links Broken after server change

    My Company changed servers recently (Including a new Server name) and all links to that server have been broken.  I can manually re-direct these to the new path, but was wondering if any one knew of a batch edit/search and replace tool as after the server name everything remainds the same.

    [ moved to the correct forum ]
    It's not possible unless you use a custom plugin (i.e. write one). Scripting and automation inside Acrobat can create new links but cannot read the destinations of existing ones.

  • After a network hijacking, I removed the link to the non-existant proxy server, but all sites are now missing components, ie buttons, thumbnails, backgrounds, etc.

    A site downloaded a program which warned of corruption; spyware,
    viruses, etc., on my system and that an attack was going on now.
    I located the program file, deleted it and stopped the process.
    Afterwards, HTTP connections (in Firefox and IE) could not
    complete. After disabling the use of the Proxy Server in both,
    IE now works correctly, but Firefox loses many components of a
    page, and generates many Warnings in the Error Log with
    "Declaration Dropped". Some other setting was changed, but I
    can't locate what. (It would be great if there was a wizzard
    which compared all the settings to "recommended" values, and
    warned if different and the effect.)
    (Also, a log of which settings have been changed and when.)

    Hi,
    According to your description, it seems like 3rd app process startup with Windows caused this problem.
    In my opinion, it would be better to use Autoruns to check Window Startup items if there is any IE activX start with IE.
    Download Autoruns:
    http://technet.microsoft.com/en-us/sysinternals/bb963902.aspx
    Pleasse use Autoruns to check system startup items carefully, and try to remove 3rd items for test.
    Roger Lu
    TechNet Community Support

  • I am using a work laptop and have the same problem. When I try to change the "configure proxy", they only available option is "use this proxy server for all protocols". Could it be that my system administrator blocked me from changing it since they don'

    I am using a work laptop and have the same problem. When I try to change the "configure proxy", they only available option is "use this proxy server for all protocols". Could it be that my system administrator blocked me from changing it since they don't want us to use Firefox.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.4; FNGP_SYS)

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the ''Safe mode'' start window.
    You have to close and restart Firefox after each change via "File > Exit" (on Mac: "Firefox > Quit")

  • How to add Proxy server to internet explorer using a Group Policy 2008

    Hi,
    I am using active directory of Windows Server 2008 R2 x64. I have a proxy server from Microsoft TMG 2010.
    What I need to do is I need to add Proxy server settings to the browser via the GPO. How can I do it?
    Thanks in advance.
    Yosh
    --------------------------------------------------------------------------------- YOSHIKA04 ------------------------------------------------------------------------------

    > instead.  That's all very well but using above IE 8 isn't supported in
    > preferences.
    It IS supported. Either use a newer OS or manually edit the XML:
    http://blogs.technet.com/b/asiasupp/archive/2011/03/30/internet-explorer-9-ie9-group-policy-preferences-gpp.aspx
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • I am unable to update any add-ons at all. Every time I try and install an add-on or even the new "show hidden add-ons" add-on, I get a server error. How do I fix this?

    I am unable to update any add-ons at all. Every time I try and install an add-on or even the new "show hidden add-ons" add-on, I get a server error. How do I fix this?

    You may have triggered some intermittent database issues but it should be running smooth by now. Let us know if you still see server errors.
    Also, if your addons appear to go missing after updating there is a workaround http://blog.mozilla.com/addons/2011/09/28/issue-discovered-with-firefox-add-on-upgrades/ And there is a 7.0.1 fix on its way.

  • Add Proxy server details to File Adapter

    On my current project, we are integrating SAP ECC to SAP Sourcing using standard integration.  Nice and simple, however the SAP Sourcing system is set up in a separate network. 
    Unfortunately we need to get out over the internet and the technical team insist we have to go via the proxy server.
    is there a way to add the proxy server and connection details within the FTP adapter?   has anyone done this before?

    I agree with Shabarish.
    You need to chose another way, like trusted networking.
    An alternative idea, is to use a shell script from your PI OS. Get File, Put file into a PI OS directory (with nfs, for example), and run a shell script like follow (for send file to destination server):
    #!/bin/sh
    ftp -n <proxy server addres> <<END_SCRIPT
    quote USER '<userid>'
    quote PASS '<password>'
    open <remoteserver>
    <user>
    <password>
    mput <filename>

  • Where do i get proxy server addresses to insert in mysettings for Premium proxy switcher add on?

    Where do I get proxy server addressesto insert in my setup of the add on.....Premium Proxy Switcher 1.0.10?

    Thank you for checking, Tom,
    I'm confused. What do YOU get when you push the feed button? And why is it working on yours and not either of my machines?
    Today, my Mac (w/Safari 4) gets the same error message: Safari can’t open the page Safari can’t open the page “feed:http://vibrationalvoyages/vibrationalvoyages.com/DivineLight_Vibrations_Principles_andApplications/rss.xml”. The error is: “The feed could not be loaded because the content is not in a known feed format.”
    My little ASUS (with a Linux operating system) gets a screen that says "The requested URL was not found". The URL on that page is http://vibrationalvoyages./vibrationalvoyages.com/DivineLight_Vibrations_Principles_andApplications/rss.xml
    On both error messages, the URL I was checking was:
    http://www.vibrationalvoyages.com/DivineLight_Vibrations_Principles_and_Applications/Divine_Light_Vibrations_Principles_ andApplications.html
    The last URL was, of course, the URL generated by iWeb.
    So, my question still is:
    HOW CAN I GET MY FEEDS TO WORK PROPERLY? If the problem is there shouldn't be an http:// after feed: then, how do I get iWeb to set it up properly?
    Any ideas?
    GG

  • How to add address of Proxy Server

    When using Safari and other internet applications on the iPhone I cannot access the internet pages on my iPhone but when I use Interenet Explorer on my Windows machine using the same internet address and the the same wifi connection all is OK. The wifi connect works OK because I can access email.
    In Microsoft Internet Explorer the only way it works is by entering a proxy Server address. How can I set this for the iPhone?
    Thanks Lachlan

    Settings > Wi-Fi. Tap the little blue arrow at the right of the network you're connected to, then scroll down to HTTP Proxy, tap Manual and enter the server and port, or if you use an automatic proxy setting, tap Auto and enter the URL. You should be able to get that information from the settings in IE on your computer.

  • Is there an "insert all links" type of feature or add-on for Firefox that works with Thunderbird?

    Hello Firefoxies,
    Is there an "insert all links" type of feature or add-on for Firefox that works with Thunderbird or any email app? I want to be able to insert all the links from a Firefox bookmarks folder automatically in to an outgoing email and include the names that I have given to those saved links / bookmarks.
    I searched for this add-on on the Firefox and the Thunderbird sites, but I don’t think the one that I found is for what I am thinking of.
    What I would like to do is to be able to add all the links in a saved tabs folder, or any bookmarks folder, from Firefox in to the body of an outgoing email preferably in Thunderbird, or any email app... so I could just click and all the links and hopefully all the names that I have given to those links will then appear in the body of an outgoing email automatically, ready for me to then write what I want, plug in an address, and send.
    When I did a search of add-ons on the Firefox and Thunderbird sites, I found something called “Open all links 0.3.1” on the Thunderbird site that I think is for the opposite of my description... I think this add-on is to automatically open all the links in an email that is received... '''which IS NOT what I want to do'''... I want to place all the links that I have in a Firefox bookmarks folder in to an outgoing email... the URL to the “Open all links 0.3.1” add-on is below for you to look at just in case I am reading this wrong...
    https://addons.mozilla.org/en-US/thunderbird/addon/2913/
    Otherwise, I could not find any add-on that fits my description.
    Thanks so much,
    numetro

    Hello Firefoxies,
    Is there an "insert all links" type of feature or add-on for Firefox that works with Thunderbird or any email app? I want to be able to insert all the links from a Firefox bookmarks folder automatically in to an outgoing email and include the names that I have given to those saved links / bookmarks.
    I searched for this add-on on the Firefox and the Thunderbird sites, but I don’t think the one that I found is for what I am thinking of.
    What I would like to do is to be able to add all the links in a saved tabs folder, or any bookmarks folder, from Firefox in to the body of an outgoing email preferably in Thunderbird, or any email app... so I could just click and all the links and hopefully all the names that I have given to those links will then appear in the body of an outgoing email automatically, ready for me to then write what I want, plug in an address, and send.
    When I did a search of add-ons on the Firefox and Thunderbird sites, I found something called “Open all links 0.3.1” on the Thunderbird site that I think is for the opposite of my description... I think this add-on is to automatically open all the links in an email that is received... '''which IS NOT what I want to do'''... I want to place all the links that I have in a Firefox bookmarks folder in to an outgoing email... the URL to the “Open all links 0.3.1” add-on is below for you to look at just in case I am reading this wrong...
    https://addons.mozilla.org/en-US/thunderbird/addon/2913/
    Otherwise, I could not find any add-on that fits my description.
    Thanks so much,
    numetro

Maybe you are looking for

  • C code compiling in osx

    I have written a buch of applications in C, OpenGL, and GLSL on a linux box. I want to be able to compile and run them on my mac. Is there any way I can do that from a command line or do I have to learn Cocoa? There has to be an easier way than using

  • How do I recover lost contacts on my ipad

    Lost contacts on my iPad. Trying to recover.

  • Safari 5 is messing up text :(

    I upgraded from Safari 4 to 5. Now a lot of text is garbled. Even MobileMe's login page is partially unreadable. Please help!!!

  • Change from Office Test Drive to Full Version without losing files

    So my trial is almost up and I need to download the full version. In browsing earlier discussions, it seems there are a few different ways to uninstall Test Drive - how should I do it so that none of the Word docs I saved get lost? Thanks!

  • Drop All Objects

    Hi We have a script for dropping all objects in an schema. We use it on our application schema. By mistake, I had logged in as SYS user id and ran the script. It generated a file called a1.sql and also ran this script. Realising the mistake, I broke