Review main Merged

9245[FEATURE] stdWrap caching

Fabrizio Branca CR +2 V +2 Normal +69 −0 updated 06/03/13, 20:49

Commit message

Problem:
* Cacheable content is always page specific.
  Pages cannot share cached content.
* Cacheable content has no individual lifetime
  but is bound to the lifetime of the page where it is placed.

Solution:
Introduce new configuration options that will store the
content into the caching framework:

Examples:
5 = TEXT
5 {
  cache.key = mycurrenttimestamp
  cache.tags = tag_a,tag_b,tag_c
  cache.lifetime = 3600
  data = date : U
  strftime = %H:%M:%S
}

or (for page specific cache that doesn't take
other parameters into account)
5 = TEXT
5 {
  cache.key = mycurrenttimestamp_{page:id}
  cache.key.insertData = 1
}

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1