q962
(提及)
1
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
q962
(提及)
2
Replenish:
Before asking, I already called soup_cache_dump on program exit
q962
(提及)
3
After spending some time researching it, I found that the corresponding field in http Response did not exist.
system
(system)
Closed
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.