On 17/01/2008, Brianna Laugher brianna.laugher@gmail.com wrote:
Hi,
I have a problem which I suspect is related to the recent caching changes.
I have a script that screenscrapes the Commons POTD and creates an email to send to daily-image-l@lists.wikimedia.org. But for the last three days it has sent information about the same image, from Jan 15th.
It runs this command: wget -erobots=off -q -O - http://commons.wikimedia.org/w/index.php?title=Commons:Picture_of_the_day/To...
When I visit http://commons.wikimedia.org/w/index.php?title=Commons:Picture_of_the_day/Today in my browser I get the right day, today's one.
Any ideas about this?
If I'm following this thread correctly, the squids cache by URL, so chances are the URL you're using is no longer getting cached. Can you just add &purge=true to the end?