THTTPSend and cache lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- cappe · 2017-09-11 08:16 Hi, i use the THTTPSend command in order to get txt file from my site procedure TForm1.Button1Click(Sender: TObject); var URL: string;     Params: string;     Response: TMemoryStream;     r:THTTPSend; begin    r:=THTTPSend.Create;    URL:= ......    r.HTTPMethod('GET',URL);    Memo1.Lines.Add(r.ResultString);    r.Free end;   the site returns each time a different value.   the first download return the correct value, but the second time return return the previous value (cache value, I think) . There is a way to clear the cache at each get request of Thttpsend? ---------------------------------------------------------------------- tudi_x · 2017-09-11 08:57 hi, try releasing r. freeandnil(r). ---------------------------------------------------------------------- cappe · 2017-09-11 09:12 Quote from: tudi_x on September 11, 2017, 10:57:39 amhi, try releasing r. freeandnil(r). there was an error in the list above, there was already r.free. But it does not work anyway