Ideas for Arc XP

Add option in useContent to fetch only server side

We would like to force some client-side useContent to use cached data even if it's expired. Template-based urls are cached for 15 minutes and we see a lot of unnecessary calls to content source from the client side

  • Javier Goñi
  • Aug 23 2024
  • Future consideration
  • Attach files
  • Admin
    Fatih Yildiz commented
    26 Aug 16:04

    Thanks for submitting this idea Javier.

    This functionality make sense, to tell PageBuilder to do server-side only or client-side only fetches. There are indirect ways to change this behavior but not from useContent like rendering static, but not without preserving the interactivity that you can leverage React in your front-end.