• Resolved Will Stocks

    (@willstockstech)


    Hey guys,

    Quick question – I noticed that when requesting wp-cron.php, I get the standard cache control header returned (in my case A3600 (1 hour). I disable wp-cron by default and use a “real cron job” to call wp-cron.php?doing_wp_cron via wget every 5 minutes however I noticed this morning that it didn’t “work” correctly until I called it directly from my machine.

    My question, therefore, is – because I have the cron job being called from my server, is the cache-control header interfering and not allowing the wget command to “correctly” execute every 5 minutes – instead the response is coming from cache instead?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp-cron.php cache-control header’ is closed to new replies.