Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-5633

Improve memcache support in CiviCRM

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1.NYSS
    • Component/s: None
    • Labels:
      None

      Description

      1. Get memcache back to working state

      2. enable prefix support so multiple installs can share same memcache

      3. examine code and add memcache support to other objects (civicrm_option_group, civicrm_preferences, civicrm_menu?)

      details:

      • caching of mostly static lists (tags, calendars, states etc) whether database-driven or not
      • caching of database results when called multiple times in the same request (e.g. on contact view page)
      • stale data: all cacheable objects need to be cleared any time data is modified (whether through interface, api, hook.)
      • control cache duration in settings file for different cache entities in order to optimize space (e.g. contact might be shorter than civicrm_menu)
      • dealing with permissions if list elements depend on roles/groups. How to cache different facets

        Attachments

          Activity

            People

            • Assignee:
              stantale Sacha Stanton
              Reporter:
              lobo Donald A. Lobo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 days, 4 hours
                2d 4h
                Remaining:
                Remaining Estimate - 2 days, 4 hours
                2d 4h
                Logged:
                Time Spent - Not Specified
                Not Specified