Support » Plugin: Warm Cache » [Plugin: Warm Cache] How to call this plugin correctly?

Viewing 5 replies - 1 through 5 (of 5 total)
  • I placed the link in quotes to prevent the error, but it still appears to do nothing except load the link like a normal web page. Any help appreciated!

    I think the problem lies in line 103 of warm-cache.php. It uses the command wp_generate_password() to create the variable plugin_warm_cache_api, which is the warm_cache=URL . wp_generate_password() by default uses special characters to be more secure, but these characters don’t seem to work with cron or in a URL format in general.
    In my case, % and ) caused either cron to fail, or the URL to just resolve my homepage. You’ve got a whole cl&sterf*ck.

    Anyway, I changed my plugin_warm_cache_api variable manually in the database, and added $special_chars = false to the wp_generate_password() command for good measure. Seems to have done the trick.

    add_option('plugin_warm_cache_api',wp_generate_password($special_chars = false));

    Plugin Author ramon fincken

    (@ramon-fincken)

    Calling the plugin should be done using a cronjob on your webhost/webhosting-controlpanel.

    The call you should do is a wget or a curl call. the commands for that differ from operating system (like debian,centos) or controlpanel (like direct admin/plesk)
    Examples http://www.ramonfincken.com/permalink/topic22.html and http://www.ramonfincken.com/permalink/topic23.html

    Placing quotes will help in special characters, I will update the plugin to delete those characters.

    If you copy paste and open the “page” you should see something like this:

    Busy with: http://www.mijnpress.nl/
    Busy with: http://www.mijnpress.nl/2011/pattaas-nl/
    [some more]
    Done!
    Crawled 58 pages in 47.5321531296 seconds.

    Plugin Author ramon fincken

    (@ramon-fincken)

    Committing new version right now

    = 1.1.2 =
    Changed: Random password call as mentioned by swanzai http://wordpress.org/support/topic/plugin-warm-cache-how-to-call-this-plugin-correctly

    Haven’t revisited this plugin in a while, once I have time I’ll give it another try. 😀

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Warm Cache] How to call this plugin correctly?’ is closed to new replies.