weboftalent/indexlastedited

Ensure that the LastEdited field is indexed so that performance for partials is consistent with large sites

3.6 2018-03-13 18:50 UTC

This package is auto-updated.

Last update: 2021-11-27 01:47:38 UTC


README

#Indexing Last Edited Build Status Scrutinizer Code Quality Code Coverage Build Status codecov.io

Latest Stable Version Latest Unstable Version Total Downloads License Monthly Downloads Daily Downloads

Dependency Status Reference Status

codecov.io

By default SilverStripe does not index the LastEdited field, a field that is used for partial caching. On large sites this can be a problem with performance. The module adds the index to SiteTree, Member and Group.

#Adding Last Edited to DataObjects Create or append to an existing extension.yml file in an appropriate _config directory within your codebase.

---
Name: your-site-specific-last-edited-extensions
---
SiteTree:
  extensions:
    ['IndexLastEditedExtension']