[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/settings/ -> viewcache.ini (source)

   1  #?ini charset="iso-8859-1"?
   2  # eZ publish configuration file for view caching.
   3  #
   4  # NOTE: It is not recommended to edit this files directly, instead
   5  #       a file in override should be created for setting the
   6  #       values that is required for your site. Either create
   7  #       a file called settings/override/viewcache.ini.append or
   8  #       settings/override/viewcache.ini.append.php for more security
   9  #       in non-virtualhost modes (the .php file may already be present
  10  #       and can be used for this purpose).
  11  
  12  [ViewCacheSettings]
  13  # Determines which types of related objects will be choosen to clear view cache
  14  # when publishing current object.
  15  # Possible values are:
  16  # common                    - common relations made on object level
  17  # embedded                  - embedded objects
  18  # linked                    - linked objects
  19  # attribute                 - relations made with attributes of 'object relation' or
  20  #                             'object relations' datatypes
  21  # reverse_common            - reverse common relations (objects that relate the one currently
  22  #                             being published) on object level
  23  # reverse_embedded          - objects that have current object as embedded
  24  # reverse_linked            - objects that have linked current object
  25  # reverse_attribute         - objects that have current object as related in their attributes.
  26  #
  27  ClearRelationTypes[]
  28  ClearRelationTypes[]=common
  29  ClearRelationTypes[]=reverse_common
  30  ClearRelationTypes[]=reverse_embedded
  31  
  32  # Controls the smart viewcache handler, use enabled or disabled.
  33  # When the handler is disabled the system will clear the viewcache
  34  # for all published nodes of the current object, its parent(s), reverse
  35  # related objects and objects with same keywords (if any).
  36  # When enabled it will in addition try to follow the rules set in viewcache.ini
  37  # for more advanced relations between objects. e.g. to clear a forum
  38  # listing when a new topic or reply is posted.
  39  SmartCacheClear=disabled
  40  
  41  # The viewcache handler will look for a group named after the
  42  # class identifier of the object is currently clearing caches for.
  43  # If the group is found it will use the information in the group
  44  # to find additional cache files.
  45  # (e.g. a forum that lists latest forum topics and replies).
  46  #
  47  # The structure of the group is:
  48  #[<class_identifier>]
  49  #
  50  # The relating class identifiers which should be cleared
  51  # whenever objects of this class identifier is published.
  52  # This identifier is matched with the parents of the current
  53  # object. Multiple locations will also be searched.
  54  # This is an array so multiple identifiers can be specified
  55  #DependentClassIdentifier[]=<dependent_class_identifier>
  56  #
  57  # The list of any additional object id. Caches for those objects
  58  # will be cleared as well.
  59  #AdditionalObjectIDs[]=<list_of_object_ids>
  60  #
  61  # The maximum number of parents to go trough
  62  # when looking for objects that needs to have its cache cleared
  63  #MaxParents=<number>
  64  #
  65  # The method to use when finding caches to clear,
  66  # possible values are(depreciated):
  67  #   clear_object_caches_only
  68  #   clear_object_and_parent_nodes_caches
  69  #   clear_object_and_relating_objects_caches
  70  #   clear_parent_nodes_caches_only
  71  #   clear_parent_nodes_and_relating_caches
  72  #   clear_relating_caches_only
  73  #   clear_keyword_caches_only
  74  #   clear_all_caches
  75  #ClearCacheMethod=<method_string>
  76  # The new values are:
  77  #   object
  78  #   parent
  79  #   relating
  80  #   keyword
  81  #   siblings
  82  #   all
  83  #ClearCacheMethod=[]
  84  #ClearCacheMethod[]=<method_1>
  85  #ClearCacheMethod[]=<...>
  86  #ClearCacheMethod[]=<method_N>
  87  #
  88  # An array with object IDs, if this is supplied only
  89  # parents that match these IDs will be included.
  90  #ObjectFilter[]=<object_id>
  91  
  92  # Example for forum, forum topics and forum replies
  93  # When forum replies/topics are created/modified the forum listing
  94  # will be updated
  95  
  96  #[forum_topic]
  97  #DependentClassIdentifier[]
  98  #DependentClassIdentifier[]=forum
  99  #ClearCacheMethod[]
 100  #ClearCacheMethod[]=object
 101  #ClearCacheMethod[]=relating
 102  
 103  #[forum_reply]
 104  #DependentClassIdentifier[]
 105  #DependentClassIdentifier[]=forum
 106  #ClearCacheMethod[]
 107  #ClearCacheMethod[]=object
 108  #ClearCacheMethod[]=relating
 109  
 110  #[forum]
 111  #DependentClassIdentifier[]
 112  #DependentClassIdentifier[]=folder
 113  #MaxParents=1
 114  #ClearCacheMethod[]
 115  #ClearCacheMethod[]=object
 116  #ClearCacheMethod[]=relating
 117  #ObjectFilter[]
 118  #ObjectFilter[]=56


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7