Topic on Project:Support desk

Trigger a page visit via MediaWiki (update cache)?

3
Summary by Subfader

curl

Subfader (talkcontribs)

On my Main Page I have a slow query. It's cached (a combination of memcached + DPL cache). But when the cache gets flushed the next visitor has a slower page load time (3 seconds).

So right after flushing the cache, can I trigger a page visit for the main Page via the system as if a user would visit it?

I guess not and I need to be more smart to refresh the cache?

Ciencia Al Poder (talkcontribs)

set up a cron job that calls wget or curl?

Subfader (talkcontribs)

Of course, thanks! :)