3 ms·
Using CloudFlare or Google Page Speed Service is also a good idea to further optimize!
by icelancer 14y ago
Using CloudFlare or Google Page Speed Service is also a good idea to further optimize!
- peterwwillis 14y agoOr: # /var/spool/cron/crontabs/apache */2 * * * * ( cd /var/www/htdocs && [ ! -e .mlan.lock ] && touch .mlan.lock && wget -q -O tmp.html http://www.mywebsite.com/blogs/my-long-article-name/ && mv -f tmp.html my-long-article-name.html && rm -f .mlan.lock ) Post HN story http://www.mywebsite.com/my-long-article-name.html http://www.mywebsite.com/my-long-article-name.html and it'll get refreshed every 2 minutes. Pretty simple hack. (Edit: add lock file)