Is it safe to store the CFC object in the RECORDING area, which needs to be accessed later? Our sites now download navigation data at least two times, possibly three times, if they use our breading function. In some cases, this data may vary, but most of the time, three separate calls are ultimately made to get the exact same navigation data ...
So, I thought after the first boot, I saved the navigation data in the REQUEST area in some kind of structure, and in subsequent calls I just checked if this data is already there, and if so, just use what is saved and not re-create it again. I know that this will be access to the common area outside the contained object, which is probably not good practice, but in the end you can shave off half of our page load time ...
I know that this can be done, however, we have had problems with the server recently, some of them may have been memory leaks from the way we use / save certain things, so it was interesting to see if it is safe to do this ...
source
share