Filling the varnish cache
Sam Davey
sam at musicmatter.co.uk
Mon Oct 24 16:55:39 CEST 2011
Hi,
I am running varnish-2.1.5 which is performing great. However I want
to ensure all visitors experience the speed benefits of the cache.
Currently the first visitor to a particular URL will experience a full
page load with all the apache, php, database overheads associated with
a none cached request. And with the version of varnish I am running
the cache is always purges if the service is restarted.
I am currently using the scrapy web crawling framework which works
quite well bit it isn't a good fit for my production environment
(CentOS5 and python2.6 don't go easily) and I would prefer to build a
solution into my application so that purging and crawling can be
triggered intelligently. The web application is php which I realise
is not the most efficient language to spider with, however I'm sure I
could l knock something up using the CURL library.
So my question is:
What tried and tested methods do other people use to fill their varnish cache?
Kind Regards,
Sam
Music Matter is a trading style of Matter Retail Ltd, Unit A116 Tustin Way, Longridge Road, Preston, PR2 5LX, United Kingdom.
Registered in England & Wales, Company number 06920634.
This email and any files transmitted with it are confidential. If you have received this email in error please notify the sender and then delete it immediately. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Matter Retail Ltd. The recipient should check this email and any attachments for the presence of viruses. Matter Retail Ltd. accepts no liability for any damage caused by any virus transmitted by this email.
Save resources: Think before you print.
More information about the varnish-misc
mailing list