Jump to content

Bust that cache

Recommended Posts

Posted

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?

  • Replies 0
  • Views 240
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.