[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Browse pages



Il 10/06/2014 14:57, Ian Stuart ha scritto:
> On 10/06/14 12:39, John Salter wrote:
>> If you set up a cron job to regenerate the page twice a day (so it's
>> never older that a day), does that help things?
> Unfortunately not..... because the generate_views takes several days to
> complete (160,000+ records, all multiple-authors - "several" is a BIG
> number) then the view is out of date before its even finished!
>
> :)
>

can't you just delete them every day, early in the morning? In this way, 
they're regenerated upon request, thus always updated at the current day.