Ticket #1834 (new enhancement)

Opened 13 months ago

Last modified 13 months ago

Utilise restful caching for the default blog modules: RSS & Youtube

Reported by: smagnusson Owned by: lperera
Priority: medium Milestone:
Component: Modules - blog Version:
Severity: medium effort / impact Keywords:
Cc: Hours:

Description

The current sluggish performance of the RSS & youtube modules that are bundled with blog suggest to me they do not use caching.

If I am correct, then please implement caching for these.

Even a default of five minutes will be helpful at minimising DOS type problems and yet not make people wonder why the website isn't updating.

(I.e. I don't think we really need to have a 'caching interval' in the interface for these modules, and if this is not in the interface, you don't want a long cache time because people will wonder why it doesn't update.).

I'm assuming this only needs to affect the blog code, and not the core silverstripe code. Since you did the restful/caching stuff I'm assigning it to Lakshan :)

Change History

Changed 13 months ago by lperera

The widgets comes in flickrservice and youtube service do cache responses for 1 hour by default. I think it's better to update the blog module's widgets with the versions in youtube and flickr modules.

About RSS widget, it's not implemented with RestfulServices?. It uses SimplePIE and may have different way to handle caching. Anyway I suggest it's better to rewrite it too using RestfulServices? to have a uniformity.

Note: See TracTickets for help on using tickets.