CodeIgniter Forums
Pre-cache lots of pages? - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Pre-cache lots of pages? (/thread-34311.html)

Pre-cache lots of pages? - El Forum - 09-25-2010


Question: it is possible to pre-write the cache for a bunch of pages?

Right now I run a CI script that creates thousands of cacheable URL's, then requests every one of them using cURL. It does the job but it's REALLY REALLY slow.

Would it be possible to modify CI's core Output library to bypass the step of creating a cURL connection, and have CI create output (and cache it) for multiple pages at once?

Thanks for any ideas.