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/batch_manager_global.php

    r28502 r28532  
    702702}
    703703
    704 $template->assign(
    705   array(
    706     'nb_thumbs_page' => $nb_thumbs_page,
    707     'nb_thumbs_set' => count($page['cat_elements_id']),
    708     )
    709   );
     704$template->assign(array(
     705  'nb_thumbs_page' => $nb_thumbs_page,
     706  'nb_thumbs_set' => count($page['cat_elements_id']),
     707  'CACHE_KEYS' => get_admin_client_cache_keys(array('tags'))
     708  ));
    710709
    711710trigger_action('loc_end_element_set_global');
Note: See TracChangeset for help on using the changeset viewer.