Why can't we modify data from loadData?


#1

Can we document why executeInitialRequestDataModifications() is important to use and why you shouldn’t just run a modification that logged that the user requested the page in loadData()?


#2

Title explanation What's the problem with this title?


#3

I don’t know where to write this, but caching is enabled everywhere in an EWF web app except in the specific places designated for data modification. So by modifying data elsewhere you’d risk making parts of the cache stale.

Also, loadData can often run multiple times per request, and you probably only want to do your modification once.