Re: xmlhttp caching



I forgot to mention... try altering your request to make it
a post instead... that will force the server and browser to
treat your content like a first class citizen.

D.


Josef Dabernig wrote:
isn't there a way to achieve proper caching?

this "add timestamp to url" workarround works fine but i would expect server side caching to work... if you know what i mean!?

"Steven Cheng[MSFT]" wrote:

Hi Praveen,

As dNagel has mentioned, we can use an additional querystring parameter to make the xmlhttp component or browser retrieve the data from server-side. Also, if you do not want the request always be made to server to retrieve data, you can consider manually control the querstring paramerr's value not to be randomly generated. You can define your custom algorithm to create such parameter. Thus, when you do not want the request be made to server(but utilize the cache), you can make the parameter value the same with former requests.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no rights.)


.



Relevant Pages

  • Re: client gets always every first time for every page a 401
    ... only the first request get 401. ... Why does my Browser in case 5 not submit the Basic Authorization String ... credentials as used in 3, because they have the same root. ... Explorer has established a connection with the server by using Basic or NTLM ...
    (microsoft.public.inetserver.iis.security)
  • Re: How to write something to a html textfield and send it?
    ... > No need for controlling any particular browser. ... I'm not familiar with HTTP user ... and building the request in your program. ... The server doesn't know anything about a textfield; ...
    (comp.programming)
  • Re: client gets always every first time for every page a 401
    ... When the browser makes a request, ... If the server does not accept Anonymous or if the Anonymous ... then the browser must support this method to communicate with the ...
    (microsoft.public.inetserver.iis.security)
  • RE: DNS response Issue
    ... The browser depends on OS settings for name resolution. ... TCP/IP settings on the NIC point to the server for DNS ... >> 2 computers connected to the Switch (One a server another a client), ... >> client is removed from the LAN so any request from the client has to go ...
    (microsoft.public.win2000.dns)
  • [REVS] NTLM HTTP Authentication is Insecure By Design
    ... in front of a web server, and that proxy server shares a single TCP ... These are attacks that make use of non-RFC HTTP requests (HTTP Request ... the authentication is associated with the ...
    (Securiteam)

Loading