Soup image cache

How to make soup cache images?

Caching is currently used

priv->soup_cache = soup_cache_new( cache_path, SOUP_CACHE_SINGLE_USER );
soup_cache_load( priv->soup_cache );
soup_cache_set_max_size( priv->soup_cache, 1024 * 1024* 1000 );
soup_session_add_feature( priv->session, ( gpointer )priv->soup_cache );

The image file size is very small.

Content length: 12117

Replenish:
Before asking, I already called soup_cache_dump on program exit

After spending some time researching it, I found that the corresponding field in http Response did not exist.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.