Ignore:
Timestamp:
May 24, 2014, 4:18:04 PM (10 years ago)
Author:
mistic100
Message:

feature 3077 : improve cache invalidation

  • add "lastmodified" automatic field for categories, groups, users, tags and images tables
  • provide a "server key" to the client cache manager
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/picture_modify.php

    r28500 r28532  
    409409$associate_options_selected = query2array($query, null, 'id');
    410410
    411 $template->assign(compact('associate_options_selected', 'represent_options_selected'));
     411$template->assign(array(
     412  'associate_options_selected' => $associate_options_selected,
     413  'represent_options_selected' => $represent_options_selected,
     414  'CACHE_KEYS' => get_admin_client_cache_keys(array('tags', 'categories')),
     415  ));
    412416
    413417trigger_action('loc_end_picture_modify');
Note: See TracChangeset for help on using the changeset viewer.