Here you can find some answers to your questions, and also some tutorials.
by Jorge Sousa » 27 Mar 2015 16:06
We strongly suggest cgdevtools users to add the following code to increase the expiration time of static content:
- Code: Select all
uses
IW.HTTP.Reply;
procedure TIWServerController.IWServerControllerBaseConfig(Sender: TObject);
begin
THttpReply.DefaultCacheTTL := 1440; // 1440 minutes = 24 hours
THttpReply.DefaultCacheControl := 'private';
end;
-
Jorge Sousa
-
- Posts: 4261
- Joined: 17 May 2012 09:58
-
Return to Documentation / Tutorials