Forum Discussion
jaread83
7 years agoChampion
Okay cool... was hoping to do it server side with Freemarker/Java to avoid the whole 'flash' of the HTML being loaded in. But if JS is the only way then I guess that would be the only way.
HiteshKumar
7 years agoExpert
You can avoid the 'flash' of the HTML being loaded by using synchronous ajax request.
I guess it will slightly increase the page load time.
Or
You can cache the HTML content at the community level and keep them updated as required.
Please see the below doc for caching
https://community.lithium.com/t5/Developer-Knowledge-Base/Cache-the-output-of-a-macro/ta-p/182354
Related Content
- 3 months ago
- 4 months ago
- 2 months ago