Cache expire updated before cache removed.

Created on 25 August 2017, about 7 years ago
Updated 10 July 2023, over 1 year ago

We have a bad logic with cache, because we update the expiration before the cache can not be cleared in some situations.
If we use exist logic if request to GA cached and cache not purge, we are update existed cache to new expiration time. Also, if there are no records in our database, we will not receive new entries in the database to 'google_analytics_counter'. Therefore, I suggest using logic with checking the current time if the cache has not been cleaned before.

πŸ› Bug report
Status

Closed: outdated

Version

3.3

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine dporplenko

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¬πŸ‡§United Kingdom kenorb
  • Issue was unassigned.
  • Status changed to Closed: outdated over 1 year ago
  • πŸ‡ΈπŸ‡°Slovakia kaszarobert

    Because of the Universal Analytics shutdown, version 7.x-3.x is no longer supported.
    As Drupal 7 EOL is close, please consider upgrading to the latest Drupal and latest version of this module with Google Analytics 4 support.
    If you are still here and experiencing problems with the latest version using GA4, then please open an issue about it.

Production build 0.71.5 2024