I have a D6 site using Authcache and a memcache backend (using Memcache API module). Would it be possible to use this module as a way to "warm" or "prime" my cache in conjunction with those two modules? If so, can someone offer some specific guidelines about how to do that? I assume I would use the information in the "General Caching" section of the module page, but I would rather not use the Cache Backport module, if necessary.

Thanks in advance for any help or further explanation you can provide.

Comments

gielfeldt’s picture

I don't think it will be possible to use the Cache Graceful to warm or prime the cache, at least not without patching/hacking Authcache to use the cache graceful api directly.

However, you might be able to use Cache Graceful on the cache_page bin to protect against "thundering herd". I believe the class in cache_graceful.inc could easily be rewritten to work with Cache Router. The class should extend the memcache class if you want to use memcache for the backend.

gielfeldt’s picture

Hi spazfox

Do you need any more help/input?

spazfox’s picture

Status: Active » Closed (works as designed)

No, I've taken a different route to warming my cache. Thanks for the helpful response, though! I'll close this out.

rp7’s picture

#3: can you elaborate?

spazfox’s picture

Sure, RaF, I'm warming my cache using a macro for Firefox (https://addons.mozilla.org/en-US/firefox/addon/imacros-for-firefox/) that automatically opens all of my relevant pages in Firefox. I set up this macro as a bookmark and then use a scheduling add-on (https://addons.mozilla.org/en-US/firefox/addon/my-weekly-browsing-schedule/) that opens the bookmark and runs the script at my desired intervals. This obviously requires a machine with Firefox open to work, which makes it less than ideal, but it has been working great for me.