Oops some people got cached…

Written By: - Date published: 11:56 pm, November 2nd, 2009 - 13 comments
Categories: admin - Tags:

Sysop

Sysop

Sorry to anyone who thought that The Standard hadn’t published anything today. The site had in fact been pretty active for a Monday. You got caught by a wee mistake by me*

I moved the site to a more accessible location on the server in preparation for updates in the free time between now and New Years. But I made a screwup in the permissions for the SuperCache directories and siteXML files*. It managed to feed yesterdays pages from the cache to some of our audience today.

Some browsers and proxy caches served up the old cached pages conforming to the site hints. Most requested new pages. I’ll be going back through the logs to figure out what exactly was happening – it should allow me to tweak more performance out of the hardware by shifting caching rules. Of course that will make it more obvious if I ever screw up the same way again.

But it is a lot more productive and transparent than letting it silently disenfranchise readers. After all I’m not a NACT elitist who finds that there are more favors to be gained if everything is kind of opaque and Key-like – like their versions of of the EFA and ETS (reminds me of the Muldoon era of gerrymandered electorates and SMP’s mostly) 😈

Then I would also be able to see the fault myself during testing. There was a lot of testing yesterday. But after it was reported by addicts in the afternoon, I tested on Ubuntu linux, iPhone and Windoze 2000/XP/Vista on linux virtualbox. I also tested on browsers, Firefox, Safari, Seamonkey, Opera, Konquerer, and even Internet Explorer versions 6-8 on appropriate platforms. I also tested on 3 different internet links for possible proxy errors. No errors. That was all that I had on me at the time, so eventually I went to the house of a reader to look at the damn error in the evening..

My only OS/X box is hooked up as a media PC to the TV at home. OS/X doesn’t run in a linux hosted virtualbox legally because of Apples crappy hardware restricted license. So following the prophet Murphy, that seems to be what was affected with both Firefox and Safari getting the problem. I’d be interested if other people had a Groundhog day that wasn’t on a mac…

All fixed now*

Lynn

The Standard Icon (Hi)* For the techies. I moved the code from a system location to one accessible to my personal login, and linked it back to the original location. I changed the user ownership of all files to my login and apache’s group on the server. The problem was that the existing relevant write and execute permissions for the cache were on the user not the group. They were octal 640 and 740 rather 660 and 770 respectively. So after I changed user ownership to myself wordpress didn’t have permission to write new cache files or to delete the existing ones.

.

13 comments on “Oops some people got cached… ”

  1. Noko 1

    I thought I was getting cache material, but I was leaning towards blaming Telecom first 😉

    But yeah, I got it on Iceweasel (Firefox clone) on Debian Linux.

  2. lprent 2

    Xtra or a local web proxy was my first thought as well. Xtras more than a decade instability of their DNS system does not exactly Inspire confidence. But it showed on the same mac laptop on orcon as well.

  3. outofbed 3

    me too, I thought everyone went away for the weekend
    (Opera on linux mint)

  4. BLiP 4

    Happened to me but only briefly – I’m running Firefox. Seemed to work after the first couple of reloads.

    Fix the Search thingy? 🙂

  5. lprent 5

    Blip: been trying to. I have now tested 6 search engines. The problem is the 130k and rapidly rising comments that either the engines don’t index or they fall over indexing or they chew too much time indexing.

    I have hopes for a background search engine called sphinx but haven’t had time to finish testing.

    • BLiP 5.1

      Only winding you up, mate. These days I do the “text site:thestandard.org.nz” Google thingywotsit – seems to work alright so long as the bit I’m looking for more than, say, a week old.

      • the sprout 5.1.1

        yeah lynn i was wondering if a good interim kludge might be to just have Search as a google page with the ‘site: standard etc’ preloaded?

        • lprent 5.1.1.1

          My experiments have indicated that we don’t get a particularly ordered mix. But I’ll try it out again… This search while complete, isn’t exactly the best ordering. Plus it repeats a hell of a lot as the name pops up in all of the tag search pages etc…

          • felix 5.1.1.1.1

            Still probably more usable than the current search though.

          • the sprout 5.1.1.1.2

            hmm, i see what you mean. on the other hand at least a google search can still easily handle a long string of terms to help refine the output.
            anyway, just a thought. obviously you’ve already thought of that – surprise surprise.

    • rocky 5.2

      I reviewed some search software in one of my previous jobs. Nutch and Sphinx came out on top. Both are stable and reliable, and run at the command line level so there’s no such think as crashing and falling over because of the size. They both index things nicely so searches from the site should be fast 🙂

      • lprent 5.2.1

        I’ll have a look at Nutch.

        The biggest hassle is that I have to get the pages down as a file for sphinx to scan. I stalled looking at the API for a in-memory way of passing the page. There is a plugin wrapper for Sphinx – but it isn’t particularly good.

        However it does seem to be the only way I can maintain a good search engine without crippling the wordpress with the volumes of posts and comments whenever it has to do a reindex

  6. rocky 6

    Nutch is good – you can just give it the URL and tell it to index from the front page.

Recent Comments

Recent Posts

  • Agreement delivers Local Water Done Well for Auckland
    The Government has delivered on its election promise to provide a financially sustainable model for Auckland under its Local Water Done Well plan. The plan, which has been unanimously endorsed by Auckland Council’s Governing Body, will see Aucklanders avoid the previously projected 25.8 per cent water rates increases while retaining ...
    BeehiveBy beehive.govt.nz
    23 hours ago
  • Gaza and the Pacific on the agenda with Germany
    Foreign Minister Winston Peters discussed the need for an immediate ceasefire in Gaza, and enhanced cooperation in the Pacific with German Foreign Minister Annalena Baerbock during her first official visit to New Zealand today.    "New Zealand and Germany enjoy shared interests and values, including the rule of law, democracy, respect for the international system ...
    BeehiveBy beehive.govt.nz
    2 days ago
  • Decision allows for housing growth in Western Bay of Plenty
    The Minister Responsible for RMA Reform, Chris Bishop today released his decision on four recommendations referred to him by the Western Bay of Plenty District Council, opening the door to housing growth in the area. The Council’s Plan Change 92 allows more homes to be built in existing and new ...
    BeehiveBy beehive.govt.nz
    3 days ago
  • Speech to New Zealand China Council
    Thank you, John McKinnon and the New Zealand China Council for the invitation to speak to you today.    Thank you too, all members of the China Council. Your effort has played an essential role in helping to build, shape, and grow a balanced and resilient relationship between our two ...
    BeehiveBy beehive.govt.nz
    3 days ago
  • Modern insurance law will protect Kiwi households
    The Government is modernising insurance law to better protect Kiwis and provide security in the event of a disaster, Commerce and Consumer Affairs Minister Andrew Bayly announced today. “These reforms are long overdue. New Zealand’s insurance law is complicated and dated, some of which is more than 100 years old. ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Government recommits to equal pay
    The coalition Government is refreshing its approach to supporting pay equity claims as time-limited funding for the Pay Equity Taskforce comes to an end, Public Service Minister Nicola Willis says.  “Three years ago, the then-government introduced changes to the Equal Pay Act to support pay equity bargaining. The changes were ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Transforming how our children learn to read
    Structured literacy will change the way New Zealand children learn to read - improving achievement and setting students up for success, Education Minister Erica Stanford says.  “Being able to read and write is a fundamental life skill that too many young people are missing out on. Recent data shows that ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • NZ not backing down in Canada dairy dispute
    Trade Minister Todd McClay says Canada’s refusal to comply in full with a CPTPP trade dispute ruling in our favour over dairy trade is cynical and New Zealand has no intention of backing down. Mr McClay said he has asked for urgent legal advice in respect of our ‘next move’ ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Stronger oversight for our most vulnerable children
    The rights of our children and young people will be enhanced by changes the coalition Government will make to strengthen oversight of the Oranga Tamariki system, including restoring a single Children’s Commissioner. “The Government is committed to delivering better public services that care for our most at-risk young people and ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Streamlining Building Consent Changes
    The Government is making it easier for minor changes to be made to a building consent so building a home is easier and more affordable, Building and Construction Minister Chris Penk says.      “The coalition Government is focused on making it easier and cheaper to build homes so we can ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Minister acknowledges passing of Sir Robert Martin (KNZM)
    New Zealand lost a true legend when internationally renowned disability advocate Sir Robert Martin (KNZM) passed away at his home in Whanganui last night, Disabilities Issues Minister Louise Upston says. “Our Government’s thoughts are with his wife Lynda, family and community, those he has worked with, the disability community in ...
    BeehiveBy beehive.govt.nz
    5 days ago
  • Speech to New Zealand Institute of International Affairs, Parliament – Annual Lecture: Challenges ...
    Good evening –   Before discussing the challenges and opportunities facing New Zealand’s foreign policy, we’d like to first acknowledge the New Zealand Institute of International Affairs. You have contributed to debates about New Zealand foreign policy over a long period of time, and we thank you for hosting us.  ...
    BeehiveBy beehive.govt.nz
    5 days ago
  • Accelerating airport security lines
    From today, passengers travelling internationally from Auckland Airport will be able to keep laptops and liquids in their carry-on bags for security screening thanks to new technology, Transport Minister Simeon Brown says. “Creating a more efficient and seamless travel experience is important for holidaymakers and businesses, enabling faster movement through ...
    BeehiveBy beehive.govt.nz
    5 days ago
  • Community hui to talk about kina barrens
    People with an interest in the health of Northland’s marine ecosystems are invited to a public meeting to discuss how to deal with kina barrens, Oceans and Fisheries Minister Shane Jones says. Mr Jones will lead the discussion, which will take place on Friday, 10 May, at Awanui Hotel in ...
    BeehiveBy beehive.govt.nz
    5 days ago
  • Kiwi exporters win as NZ-EU FTA enters into force
    Kiwi exporters are $100 million better off today with the NZ EU FTA entering into force says Trade Minister Todd McClay. “This is all part of our plan to grow the economy. New Zealand's prosperity depends on international trade, making up 60 per cent of the country’s total economic activity. ...
    BeehiveBy beehive.govt.nz
    5 days ago
  • Mining resurgence a welcome sign
    There are heartening signs that the extractive sector is once again becoming an attractive prospect for investors and a source of economic prosperity for New Zealand, Resources Minister Shane Jones says. “The beginnings of a resurgence in extractive industries are apparent in media reports of the sector in the past ...
    BeehiveBy beehive.govt.nz
    5 days ago
  • Ō-Rākau Remembrance Bill passes first reading
    The return of the historic Ō-Rākau battle site to the descendants of those who fought there moved one step closer today with the first reading of Te Pire mō Ō-Rākau, Te Pae o Maumahara / The Ō-Rākau Remembrance Bill. The Bill will entrust the 9.7-hectare battle site, five kilometres west ...
    BeehiveBy beehive.govt.nz
    6 days ago
  • Government to boost public EV charging network
    Energy Minister Simeon Brown has announced 25 new high-speed EV charging hubs along key routes between major urban centres and outlined the Government’s plan to supercharge New Zealand’s EV infrastructure.  The hubs will each have several chargers and be capable of charging at least four – and up to 10 ...
    BeehiveBy beehive.govt.nz
    6 days ago
  • Residential Property Managers Bill to not progress
    The coalition Government will not proceed with the previous Government’s plans to regulate residential property managers, Housing Minister Chris Bishop says. “I have written to the Chairperson of the Social Services and Community Committee to inform him that the Government does not intend to support the Residential Property Managers Bill ...
    BeehiveBy beehive.govt.nz
    6 days ago
  • Independent review into disability support services
    The Government has announced an independent review into the disability support system funded by the Ministry of Disabled People – Whaikaha. Disability Issues Minister Louise Upston says the review will look at what can be done to strengthen the long-term sustainability of Disability Support Services to provide disabled people and ...
    BeehiveBy beehive.govt.nz
    6 days ago
  • Justice Minister updates UN on law & order plan
    Justice Minister Paul Goldsmith has attended the Universal Periodic Review in Geneva and outlined the Government’s plan to restore law and order. “Speaking to the United Nations Human Rights Council provided us with an opportunity to present New Zealand’s human rights progress, priorities, and challenges, while responding to issues and ...
    BeehiveBy beehive.govt.nz
    6 days ago
  • Ending emergency housing motels in Rotorua
    The Government and Rotorua Lakes Council are committed to working closely together to end the use of contracted emergency housing motels in Rotorua. Associate Minister of Housing (Social Housing) Tama Potaka says the Government remains committed to ending the long-term use of contracted emergency housing motels in Rotorua by the ...
    BeehiveBy beehive.govt.nz
    6 days ago
  • Trade Minister travels to Riyadh, OECD, and Dubai
    Trade Minister Todd McClay heads overseas today for high-level trade talks in the Gulf region, and a key OECD meeting in Paris. Mr McClay will travel to Riyadh to meet with counterparts from Saudi Arabia and the Gulf Cooperation Council (GCC). “New Zealand’s goods and services exports to the Gulf region ...
    BeehiveBy beehive.govt.nz
    7 days ago
  • Education priorities focused on lifting achievement
    Education Minister Erica Stanford has outlined six education priorities to deliver a world-leading education system that sets Kiwi kids up for future success. “I’m putting ambition, achievement and outcomes at the heart of our education system. I want every child to be inspired and engaged in their learning so they ...
    BeehiveBy beehive.govt.nz
    7 days ago
  • NZTA App first step towards digital driver licence
    The new NZ Transport Agency (NZTA) App is a secure ‘one stop shop’ to provide the services drivers need, Transport Minister Simeon Brown and Digitising Government Minister Judith Collins say.  “The NZTA App will enable an easier way for Kiwis to pay for Vehicle Registration and Road User Charges (RUC). ...
    BeehiveBy beehive.govt.nz
    7 days ago
  • Supporting whānau out of emergency housing
    Whānau with tamariki growing up in emergency housing motels will be prioritised for social housing starting this week, says Associate Housing Minister Tama Potaka. “Giving these whānau a better opportunity to build healthy stable lives for themselves and future generations is an essential part of the Government’s goal of reducing ...
    BeehiveBy beehive.govt.nz
    7 days ago
  • Tribute to Dave O'Sullivan
    Racing Minister Winston Peters has paid tribute to an icon of the industry with the recent passing of Dave O’Sullivan (OBE). “Our sympathies are with the O’Sullivan family with the sad news of Dave O’Sullivan’s recent passing,” Mr Peters says. “His contribution to racing, initially as a jockey and then ...
    BeehiveBy beehive.govt.nz
    7 days ago
  • Speech – Eid al-Fitr
    Assalaamu alaikum, greetings to you all. Eid Mubarak, everyone! I want to extend my warmest wishes to you and everyone celebrating this joyous occasion. It is a pleasure to be here. I have enjoyed Eid celebrations at Parliament before, but this is my first time joining you as the Minister ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Government saves access to medicines
    Associate Health Minister David Seymour has announced Pharmac’s largest ever budget of $6.294 billion over four years, fixing a $1.774 billion fiscal cliff.    “Access to medicines is a crucial part of many Kiwis’ lives. We’ve committed to a budget allocation of $1.774 billion over four years so Kiwis are ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Pharmac Chair appointed
    Hon Paula Bennett has been appointed as member and chair of the Pharmac board, Associate Health Minister David Seymour announced today. "Pharmac is a critical part of New Zealand's health system and plays a significant role in ensuring that Kiwis have the best possible access to medicines,” says Mr Seymour. ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Taking action on Fetal Alcohol Spectrum Disorder
    Hundreds of New Zealand families affected by Fetal Alcohol Spectrum Disorder (FASD) will benefit from a new Government focus on prevention and treatment, says Health Minister Dr Shane Reti. “We know FASD is a leading cause of preventable intellectual and neurodevelopmental disability in New Zealand,” Dr Reti says.  “Every day, ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • New sports complex opens in Kaikohe
    Regional Development Minister Shane Jones today attended the official opening of Kaikohe’s new $14.7 million sports complex. “The completion of the Kaikohe Multi Sports Complex is a fantastic achievement for the Far North,” Mr Jones says. “This facility not only fulfils a long-held dream for local athletes, but also creates ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Diplomacy needed more than ever
    Foreign Minister Winston Peters’ engagements in Türkiye this week underlined the importance of diplomacy to meet growing global challenges.    “Returning to the Gallipoli Peninsula to represent New Zealand at Anzac commemorations was a sombre reminder of the critical importance of diplomacy for de-escalating conflicts and easing tensions,” Mr Peters ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Anzac Commemorative Address, Buttes New British Cemetery Belgium
    Ambassador Millar, Burgemeester, Vandepitte, Excellencies, military representatives, distinguished guests, ladies and gentlemen – good morning and welcome to this sacred Anzac Day dawn service.  It is an honour to be here on behalf of the Government and people of New Zealand at Buttes New British Cemetery, Polygon Wood – a deeply ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Anzac Commemorative Address – NZ National Service, Chunuk Bair
    Distinguished guests -   It is an honour to return once again to this site which, as the resting place for so many of our war-dead, has become a sacred place for generations of New Zealanders.   Our presence here and at the other special spaces of Gallipoli is made ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Anzac Commemorative Address – Dawn Service, Gallipoli, Türkiye
    Mai ia tawhiti pamamao, te moana nui a Kiwa, kua tae whakaiti mai matou, ki to koutou papa whenua. No koutou te tapuwae, no matou te tapuwae, kua honoa pumautia.   Ko nga toa kua hinga nei, o te Waipounamu, o te Ika a Maui, he okioki tahi me o ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • PM announces changes to portfolios
    Paul Goldsmith will take on responsibility for the Media and Communications portfolio, while Louise Upston will pick up the Disability Issues portfolio, Prime Minister Christopher Luxon announced today. “Our Government is relentlessly focused on getting New Zealand back on track. As issues change in prominence, I plan to adjust Ministerial ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • New catch limits for unique fishery areas
    Recreational catch limits will be reduced in areas of Fiordland and the Chatham Islands to help keep those fisheries healthy and sustainable, Oceans and Fisheries Minister Shane Jones says. The lower recreational daily catch limits for a range of finfish and shellfish species caught in the Fiordland Marine Area and ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Minister welcomes hydrogen milestone
    Energy Minister Simeon Brown has welcomed an important milestone in New Zealand’s hydrogen future, with the opening of the country’s first network of hydrogen refuelling stations in Wiri. “I want to congratulate the team at Hiringa Energy and its partners K one W one (K1W1), Mitsui & Co New Zealand ...
    BeehiveBy beehive.govt.nz
    2 weeks ago
  • Urgent changes to system through first RMA Amendment Bill
    The coalition Government is delivering on its commitment to improve resource management laws and give greater certainty to consent applicants, with a Bill to amend the Resource Management Act (RMA) expected to be introduced to Parliament next month. RMA Reform Minister Chris Bishop has today outlined the first RMA Amendment ...
    BeehiveBy beehive.govt.nz
    2 weeks ago

Page generated in The Standard by Wordpress at 2024-05-05T23:12:52+00:00