EPrints Technical Mailing List Archive

Message: #03136


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Browse pages


Ian,
By default, the browse views (top page, and menu/list pages) are regenerated if they are older than 1 day:
https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Update/Views.pm#L230
and 
https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Update/Views.pm#L248-L249

It looks like you can control this using the config (see the second link).

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?

Cheers,
John



-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Ian Stuart
Sent: 10 June 2014 11:43
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Browse pages

We're looking at the same stuff here.
(our problem is the 10 minutes to re-render a page means the server 
basically gets overloaded by google crawling the pages)

PS - what version of EPrints are you using?

On 10/06/14 10:50, Andrew Beeken wrote:
> Any thoughts? I find the method that EPrints uses to put pages together
> rather impenetrable so any assistance would be great. I¹m now also looking
> at the Manage Deposits page and trying to make some adjustments to the
> form there, however gripping for specific phrases from the form turns up
> nothing.
>
> On 06/06/2014 14:42, "Andrew Beeken" <anbeeken@lincoln.ac.uk> wrote:
>
>> Afternoon!
>>
>> I¹m trying to understand how the ³Browse² pages are put together,
>> specifically the ³Browse by creator² pages. I¹ve tracked down the
>> functions that seem to pull the content from the database but I¹m not
>> sure how this is then translated into a displayable page. Any pointers?


-- 

Ian Stuart.
Developer: ORI, RJ-Broker, and OpenDepot.org
Bibliographics and Multimedia Service Delivery team,
EDINA,
The University of Edinburgh.

http://edina.ac.uk/

This email was sent via the University of Edinburgh.

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/