|
|
View previous topic
::
View next topic
|
Author |
Message |
ramon fincken Site's programmer
 Get a free globally recognized avatar It's free!
Joined: 03 Aug 2007 Posts: 412 Location: A'dam/Diemen, The Netherlands
|
Posted: Tue Nov 08, 2016 10:34 am Post subject: Varnish cron auto flush homepage |
|
|
Cron delete (flush) the homepage ( path = / ) of www.DOMAIN.EXT every 5 minutes:
Code: | */5 * * * * root varnishadm "ban req.http.host ~ www.DOMAIN.EXT && req.url ~ \"^/$\"" >/dev/null 2>&1 |
|
|
Back to top |
|
 |
Google adsense Advertisement
|
Posted: Tue Nov 08, 2016 10:34 am Post subject: Varnish cron auto flush homepage |
|
|
Advertisement
|
|
Back to top |
|
 |
GravityForms Advertisement
|
Posted: Tue Nov 08, 2016 10:34 am Post subject: Varnish cron auto flush homepage |
|
|
Advertisement
 |
|
Back to top |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|