We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

How to programmatically get a page's HTML (or force a render)

Erin Dalzell February 14, 2015 by Erin Dalzell

I am trying to work around a HTML Caching bug.

My plans is to manually (programmatically) remove the HTML cache files and then force those pages to be reloaded some how (so the cache is regenerated).

So, how can I get a page's HTML or force it to render so the render function in _app/core/view.php is called (that's where the cache is written).

Any advice is much appreciated.

Answered by Jason Varga!
>>>>>>> Answered <<<<<<<
2 Replies