Most of the traffic on my website is from the feeds (70%...podcasts).
I'd like to see static feed caching in the future.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | boost-182686.patch | 8.44 KB | mikeytown2 |
| #10 | boost-182686.patch | 7.73 KB | mikeytown2 |
Most of the traffic on my website is from the feeds (70%...podcasts).
I'd like to see static feed caching in the future.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | boost-182686.patch | 8.44 KB | mikeytown2 |
| #10 | boost-182686.patch | 7.73 KB | mikeytown2 |
Comments
Comment #1
memtkmcc commentedI vote for caching RSS also, because it IS possible to send static files with required header:
Content-Type: application/rss+xml
or
Content-Type: text/xml
when using Nginx webserver.
I plan to share my full Drupal+Boost+Nginx working configuration, soon, and adding cache for RSS (even for Nginx users) would be huge benefit.
Comment #2
andreiashu commented+1 Good ideea
Comment #3
giorgio79 commented+1
Comment #4
mikeytown2 commenteddoes the normal drupal cache pick up rss feeds?
Comment #5
giorgio79 commentedmikeytown2: Here is a related "answer" :) http://drupal.org/node/231424
Comment #6
mikeytown2 commentedhmmm... What are all the possible url structures for feeds? Fairly sure it would have to support
application/rss+xml&text/xmlcontent-type mimes. In short a spec sheet is needed, so the degree of difficulty can be assessed.Comment #7
giorgio79 commentedwith pathauto if you look int he pathauto table, every feed enabled stuff gets a "/feed" added to the end by default. At least for me for sure :)
Comment #8
mikeytown2 commentedWe can use the same boost commented footnote, so need to change the
// Output buffering callbackto correctly detect html & xml. Rewrite rules need to push out text/xml; (T=MIME-type) or ForceType. Cache all .xml extensions, all /feed paths. Add a setting to control this.Comment #9
dave reidFYI The URL requests for XML sitemap data are always going to be
/sitemap(-\d+)?\.xml/i(PHP's preg format).Comment #10
mikeytown2 commentedFixed a bug with url aliass & subdir in this patch in boost_cache_expire_derivative() function. Patch should cache xml and feeds.
Rules
Comment #11
mikeytown2 commentedbug fix has been committed.
new patch incorporating new rules on the performance page.
Comment #12
mikeytown2 commentedcommitted