Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am asking since I am trying to understand if this widget is causing my server to overuse CPU or memory.

But either way - it's interesting to know.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

RSS widget uses fetch_feed() function, which is setting default cache lifetime to 43200 seconds (12 hours).

Since this value is filtered it can be overridden (as can feed cache overall). I did encounter plugin once, whose developer citing performance reasons completely disabled feed caching for all feeds.

share|improve this answer
    
do you know if fetch_feed() uses transients? If so memcached might improve the feed performance. –  Chris_O Sep 21 '10 at 5:47
    
@Chris_O yes, it does use transients. Native SimplePie cache is files-based, but WP implementation changes that to WP_Feed_Cache_Transient class. –  Rarst Sep 21 '10 at 6:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.