Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Time's Up

20 sites Security covered
View on drupal.org

Times'up helps you refresh cached content based on specific time intervals like minutes, hours, days, or even at midnight. It's useful for managing time-sensitive data in your Drupal site, especially when working with CDNs or reverse proxies.

Provides cache-tags to deal with time sensitive data.

You need Times'up if

  • You want to regenerate caches of specific render-array based on a time
    E.g. Refresh the cache of my listing of Events every day.
  • You're using a CDN or any Reverse Proxy and you're aware of the Drupal limitation of max-age bubbling but still
    need to invalidate content based on time dimensions. See #2352009: Bubbling of elements' max-age to the page's headers and the page cache
  • You want to extend the existing feature with your own Periodicity Resolver
    E.g. Refresh the cache of my listing of Events every 7th of the month.

Features

  • Cache-tags by minutes, hours, days and months to invalidate render-array.
  • Invalidation occurs using the Drupal Cron core system.
  • Highly extendable code-base system using ChainResolver design pattern.

Defaults exposed cache tags

The system will store the last run of every periodicity (daily, weekly, ...) and use this date as relative to invalidate caches.

It means that timesup:daily will re-invalidate content only 1 day after his last run.

  • timesup:daily: Will invalidate content every day
  • timesup:weekly: Will invalidate content every week
  • timesup:hourly: Will invalidate content every hour
  • timesup:minutely: Will invalidate content every minute

Timesup also expose a some less-relative cache invalidation.

  • timesup:midnight: Will invalidate content every day at midnight

Times'up versions

Times'up is available for Drupal 8, Drupal 9, Drupal 10 & Drupal 11(dev) !
The module is ready to be used in Drupal, there are no known issues.

Dependencies

The Drupal version of Times'up requires nothing !
Feel free to use it.

Times'up requires PHP 7.4+ to works properly. We recommend updating to at least PHP 8.1 if possible, and ideally PHP 8.2, which is supported as of Drupal 10.x.

Supporting organizations

This project is sponsored by Antistatique. We are a Swiss Web Agency, Visit us at www.antistatique.net or Contact us.

Activity

Total releases
5
First release
Mar 2025
Latest release
2 months ago
Releases (12 mo)
3 ▲ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Release date
2.0.8 Stable Apr 29, 2026
2.0.7 Stable Feb 13, 2026
2.0.6 Stable Nov 7, 2025
2.0.5 Stable May 15, 2025
2.0.4 Stable Mar 20, 2025