logo

New Response

« Return to the blog entry

You are replying to:

  1. 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);

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: