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

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



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

[eluser]summery[/eluser]
Hola!

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.

~S