views:

71

answers:

1

Is there any way I can trigger a page to be fragment cached without having someone to load the page the first time?

I am planning to use cron schedule, this is because my cron scheduler updates the database and that's when I want to force the fragment cache to happen.

Thanks.

A: 

It's a primitive solution but you could always have cron fire off a curl request to the URL of your page(s).

John Topley
I was thinking of this if there is no other way.
Michael Dosier
I'd probably go this route too, what's the reason for you wanting to do this?
jonnii
I don't know. Probably thinking there's a way to do it without using curl request.
Michael Dosier