I use the A.S.P DateAdd
function to make the webpage cache control expires in 5 days after the current date:
<meta http-equiv="expires" content="<%=FormatDateTime(dateadd("d",5,now),1)%>">
I am afraid if a user come back every 3 days where , is he captured in an infinite loop which cause the cache is never updated (because a new 5 day is added to the current date of visit)?
If this dynamic approach is not a correct way, how should I set expires tag dynamically?