CodeIgniter Forums

Full Version: Pre-cache lots of pages?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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