FreeSWITCH          




Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: corrected prototype

...

mod_http_cache will only respect the max-age cache-control directive to determine when a cached file becomes stale. Use http_remove_cache _remove <url> to force an update if you know the source file on the server is newer than the cached file.

...

Code Block
languagexml
themeEmacs
http_put http://user:password@example.com/recordings/1df4a12708bcea.wav /tmp/1df4a12708bcea.wav

http_remove_cache

...

Invalidate a cached file, typically when the source file has been updated. This will force the updated file to be downloaded into the cache.

Code Block
http_remove_cache_remove http://example.com/media/hello_world.wav

...