geomac Posted February 3, 2023 Posted February 3, 2023 I've successfully added an embeded Google Sheets monthly calendar display on my Squarespace site. I want to be sure that an updated display of the page happens daily. At the moment Google Sheets is updating to conditionally highlight the current day on the spreadsheet calendar, but because my hosted web page is static visitors may see an older cached version of the page with an earlier date highlighted. I was thinking to add a blindly displayed date (white on white or something like that) representing TODAY on the web page above or below the calendar to introduce new web content so the page would be forced to refresh each day for folks with older cached content in their browsers. Can anyone recommend a code block value to do this? There are examples I've found of how to display current year that dynamically updates for copyright displays but not date. Any suggestions for this or other means to bust cache?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment