These settings works well for me. Feel free to tweak and adapt for your own OnewNews site.
Under Advanced Tab
Select the following options:
- Cache hits to this website for quick access.
- Use mod_rewrite to serve cache files.
- Don’t cache pages for known users.
- Cache rebuild. Serve a supercache file to anonymous users while a new file is being generated.
- Extra homepage checks. (Very occasionally stops homepage caching)
Expiry Time & Garbage Collection
- Cache Timeout: 1800
- Scheduler: Timer: 600
Under Preload Tab
- Refresh preloaded cache files every 30 minutes
- Preload all posts
- Select Preload mode (garbage collection only on legacy cache files.)
Extra
WP Super Cache Preload strangely does not “preload” the homepage. Only the single posts and pages are preloaded. So we have to setup cPanel cron to hit our homepage manually. Why 0,1 & 30,31? It seems to take 2 hits for supercache to properly preload and clear garbage.
- Login to your webhost cPanel at http://your-domain.com/cpanel
- Select the “Cron jobs” icon
- For the first job, enter
- Minute: 0,1,30,31
- The rest: *
- Command: wget -q -O – http://your-website.com/wp-cron.php?doing_wp_cron
- For the second job, enter
- Minute: 2,32
- The rest: *
- Command: wget -q -O – http://your-website.com/

Note 1: Some webhost disables the wget command. Check with your webhost.
Note 2: WP Super Cache only serves the preloaded supercached pages to unknown users, meaning you need to logout of WordPress to see them.
Browse and Share
» Subscribe to Feed» Leave a Comment
Related Posts:
» OneNews Premium Theme: Auto Generate Daily Archives
» WP Theme: OneNews – Popurls/Alltop Clone
» Theme Update: OneNews 2.0
» Newer Post: WP Theme: RoyaleRoom for Reat Estate
« Previous Post: WP Theme: Venture for Businesses












In WP Super Cache, the default minimum setting for “Refresh preloaded cache files” is 720 minutes. How can I change this to 30 minutes? What files do I have to edit?
Thanks
Seems like the plugin forces a minimum of 720 minutes if you have more than 1000 posts (30 minutes if less).Not sure but the plugin author may have put it in place for performance issue so edit at your own discretion.
In wp-content/plugins/wp-super-cache/wp-cache.php, replace
if ( $count > 1000 ) { $min_refresh_interval = 720; } else { $min_refresh_interval = 30; }with
if ( $count > 1000 ) { $min_refresh_interval = 30; } else { $min_refresh_interval = 30; }Hi,
I was able to implement this except the cron job.I am using hosting from
Godaddy and cronjob doesn’t look like this.you can only select two pre defined
Time. What time should I put? Do you know any work around?
Thank you once again
Appreciate your help.
Regards
Neupas
I have not use godaddy so I can only guess from this pic http://cdnup.myarcadeplugin.com/2012/07/godaddy-cron-create.jpg
I think you need to create 6 seperate jobs for each 0,1,30,31,2,32 min (with “Frequency as Hourly” and “Minutes” as 0,1,30,31,2,32 each).
If unsure, check with godaddy support.
Hi Genkian, Is there a command (for a cronjob) to preload the mobile pages? Cheers.
Sorry but not sure about that.
Hi Genkisan,
I really appreciate your help .In go daddy , i could only setup cron jobs in multiples of 5 so i setup cronjob at 5,10,15,20,25,35,40,45,50 and 55.
The homepage is still very very slow loading up. I was thinking if it has anything to do with my folder structure. i have index.html and .htaccess in my root but i have installed wordpress in different directory.
Any direction or feedback will be appreciated.
thank you.
neupas
Installing WordPress in different directory should not affect the caching. Just a note that you need to be logged out of WordPress to view the cached pages.
Hi Genkisan,
I appreciate your feedback.I did log out of the website and i still can’t see it. anyway, i will try to check if the values in the DB is correct.
Best Regards
Santosh Neupane