« Return to the blog entry
Try using it to cache/not cache your pages. I use this formula for all pages on my site.
REM {Applicable to R6+ only};
@If(CachePageYN="Yes";"";@Return(""));
datNow := @Now;
datMidnight := @Adjust(datNow;0;0;1;-@Hour(datNow);-@Minute(datNow);-@Second(datNow));
@SetHTTPHeader("Cache-Control"; "public");
@SetHTTPHeader("Expires"; datMidnight);
@SetHTTPHeader("Last-Modified"; @Modified);
Try using it to cache/not cache your pages. I use this formula for all pages on my site.
REM {Applicable to R6+ only};
@If(CachePageYN="Yes";"";@Return(""));
datNow := @Now;
datMidnight := @Adjust(datNow;0;0;1;-@Hour(datNow);-@Minute(datNow);-@Second(datNow));
@SetHTTPHeader("Cache-Control"; "public");
@SetHTTPHeader("Expires"; datMidnight);
@SetHTTPHeader("Last-Modified"; @Modified);