FAQ  •  Register  •  Login

Expires On not being honored

<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Jan 30, 2012 6:17 am

Expires On not being honored

I have a dynamic Web Resource and have set each URL Container to refresh every 10 minutes. Serviio ignores that value and refreshes every 5 minutes.

To illustrate the problem I have generated log entries showning create date and requested expiry date for each container.
As you can see in the attached log, after parsing the feeds Serviio shows expiry in 24 hours as per my console entry rather than the earliest feed expiry.
I can live with that but the bug is that the container then expires in 5 minutes rather than the 10 minutes I set, as you can see from the expiry time stamps.

How do I fix that.
Attachments
serviio - Copy.log.zip
(8.25 KiB) Downloaded 308 times
Last edited by jhb50 on Mon Jan 30, 2012 4:03 pm, edited 1 time in total.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jan 30, 2012 9:42 am

Re: Expires On not being honored

the log archive is corrupted
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Jan 30, 2012 4:04 pm

Re: Expires On not being honored

OOPs..try it now.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jan 30, 2012 6:07 pm

Re: Expires On not being honored

Right, I know why it is now. It actually expires it 5 minutes before the given expiry time to give Serviio some time to rebuild the feed completely before the expiration actually happens. I see in your case it's probably quite too early but in others it might be useful. If you like just increase your timeout to 15 minutes and it'll refresh after 10 minutes.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Jan 30, 2012 6:40 pm

Re: Expires On not being honored

Cool move ! Thanks.

Return to Plugin development

Who is online

Users browsing this forum: No registered users and 22 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.