# Best and most performant way to create a filter for news articles on different subpages

**URL:** <https://forum.getkirby.com/t/best-and-most-performant-way-to-create-a-filter-for-news-articles-on-different-subpages/31286>\
**Category:** Questions\
**Tags:** v4\
**Created:** [April 2, 2024, 9:21pm UTC](https://forum.getkirby.com/t/best-and-most-performant-way-to-create-a-filter-for-news-articles-on-different-subpages/31286 "2024-04-02T21:21:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bnomei](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/bnomei/32/775_2.png) [@bnomei](https://forum.getkirby.com/u/bnomei)\
**Post date:** [April 3, 2024, 6:37am UTC](https://forum.getkirby.com/t/best-and-most-performant-way-to-create-a-filter-for-news-articles-on-different-subpages/31286/2 "2024-04-03T06:37:54Z")

</div>

from my experience the filter operation is less an issue than reading the content files once you pass more than a few hundered pages. i would suggest adding [cache (see examples here)](https://forum.getkirby.com/t/remember-this-caching-in-kirby/23705) around the result to perform it less often (idealy only if the source changed).

---

_[View the full topic](https://forum.getkirby.com/t/best-and-most-performant-way-to-create-a-filter-for-news-articles-on-different-subpages/31286)._
