[Bug 778592] souphttpsrc: Add sessions/caching to souphttpsrc

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 2 13:33:26 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=778592

Stephan Hesse <tchakabam at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tchakabam at gmail.com

--- Comment #1 from Stephan Hesse <tchakabam at gmail.com> ---
Hey everybody

This sounds like a cool feature. I think this makes a lot of sense to have a
persistent pipeline life cycle surviving cache for HTTP (or other) resources.

I think the problem could be more generally addressed, and less libsoup
specific.

How about: a caching URI handler implementation that would generally
instantiate internally existing URI handler implementations and cache on the
filesystem previous results, while taking them from a specifically set path or
eventually using the actual URI handler to do a request if the cache does not
have the resource. Obviously, cache could be disabled at any point to force
refreshing a resource.

This could be made completely HTTP (or any other protocol) implementation
agnostic. It would just be about mapping a URI to a file storing the previously
downloaded data related to it.

I'd favor such a solution as it would be more generally addressed, solving more
issues while staying independent of further HTTP (or other) implementations and
libsoup specifics.

What do you think?

Cheers

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list