
In the html I have the header
{content assign='capturedcontent'}
in the main body
{pagecleaner clean=$capturedcontent}
I want to know what is the best way to cache this so its don't load every page load.
I did look at this page https://docs.cmsmadesimple.org/general- ... g-in-cmsms I am bit lost.
I guess if you did this {capture assign='mycontent'}{pagecleaner clean=$capturedcontent}{/capture} that wouldn't cache it.
Sorry I am not been clear. Baiscy I want the content to be cache made by my pagecleaner.
The code I am using is from
https://github.com/kwi-dk/UrlLinker
you welcome to look at my messy function

Thanks guys.