Jump to content


Photo

cache


  • Please log in to reply
3 replies to this topic

#1 jahlxx

jahlxx

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 862 posts

Posted 17 October 2016 - 09:50 AM

Hi.

 

Is there any way to not use the browser cache?.

 

I have a help files in html, loaded in a uniurlframe.

 

when I change one help file, the users can't view the new version, until not clear the browser cache.

 

 

thanks.

 


  • 0

#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 4987 posts

Posted 17 October 2016 - 09:59 AM

I have a help files in html, loaded in a uniurlframe.

 

when I change one help file, the users can't view the new version, until not clear the browser cache.

 

Hi,

 

Can you try this?!:

 

for example:

procedure TMainForm.UniButton1Click(Sender: TObject);
begin
  UniURLFrame1.URL := 'files/test.html?' + FormatDateTime('ddmmyyyyhhmmss', Now)
end;

Best regards.


  • 1

#3 jahlxx

jahlxx

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 862 posts

Posted 17 October 2016 - 10:40 AM

jajaja.

 

ok. good trick.

 

thanks.


  • 0

#4 maniraj.baral@globant.com

maniraj.baral@globant.com

    Newbie

  • uniGUI Subscriber
  • Pip
  • 2 posts

Posted 13 June 2018 - 03:35 PM

Hi,

 

Can you try this?!:

 

for example:

procedure TMainForm.UniButton1Click(Sender: TObject);
begin
  UniURLFrame1.URL := 'files/test.html?' + FormatDateTime('ddmmyyyyhhmmss', Now)
end;

Best regards.

I just tried it and works fine :)


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users