Opened 14 months ago

Closed 14 months ago

Last modified 14 months ago

#3761 closed Bug (fixed)

Tracker cache file general.php not generated when not found

Reported by: matt Owned by: mattab
Priority: normal Milestone: 1.11 - Piwik 1.11
Component: Core Keywords:
Cc: Sensitive: no

Description

There is a bug, that the file general.php is not always re-created when it is not found. In a setup with 2 servers behind load balancer, one server could be querying the data from mysql at each tracking request. Instead the data should be written on disk on the first cache miss.

Note: see also this related enhancement:

  • #2830 Tracker cache files should expire to pick up recent changes

Change History (2)

comment:1 Changed 14 months ago by matt (mattab)

  • Owner set to mattab
  • Resolution set to fixed
  • Status changed from new to closed

In 319b939f5e2ce8090322a81528a5e2ff10384dc7:

FIxes #3761 Regenerate cache file on first cache miss

comment:2 Changed 14 months ago by Fabian Becker

In 8a872c3cec430244bf3e6fe9eaa83c003a798a92:

FIxes #3761 Regenerate cache file on first cache miss

Note: See TracTickets for help on using tickets.