Is it possible to rebuild cache of all pages in an automated task
Permalink 1 user found helpful
I was wondering if somehow know if is possible ro rebuild the cache of all pages automatically. Preferably by addressing a webpage, like the way it is possible to automate the update of your sitemap, search index an email polls.
The reason I would like this is as follows:
The site I have made is quite slow on loading (> 5 a 6 secs per page) but runs fine from cache. The site will not be changed much, so I made the cache expire after 24h. So making a fresh cache available over night should theoretically do good for my site. I browsed several fora, but did not found anything on this subject.
So my question, is this a realistic approach or a silly thought? And if it is realistic, how can this be done?
Gr. Daan
The reason I would like this is as follows:
The site I have made is quite slow on loading (> 5 a 6 secs per page) but runs fine from cache. The site will not be changed much, so I made the cache expire after 24h. So making a fresh cache available over night should theoretically do good for my site. I browsed several fora, but did not found anything on this subject.
So my question, is this a realistic approach or a silly thought? And if it is realistic, how can this be done?
Gr. Daan
yea thats the only way I know of aswell, I believe you can have wget spider the site.
Thank you for your answers. Indeed, I'm (actually) looking for a way to do a http request on all my pages.
However, (I'm not into server configurations) my website is hosted on a windows machine and my hoster only allows to schedule certain tasks. I am allowed to schedule up to 5 http-requests for single pages.
So I'm looking for a script that does this http-request for all my pages. And would like to figure out if this is possible.
However, (I'm not into server configurations) my website is hosted on a windows machine and my hoster only allows to schedule certain tasks. I am allowed to schedule up to 5 http-requests for single pages.
So I'm looking for a script that does this http-request for all my pages. And would like to figure out if this is possible.
Why not use the search engine sitemap as input to cURL and call all the URIs from a script. You just need to call that script via cron/scheduled tasks then.
Sent from my iPhone
Sent from my iPhone
I'm sure someone will have a better idea, but that's what I'd do.