Function: gnus-html-cache-expired
gnus-html-cache-expired is a byte-compiled function defined in
gnus-html.el.gz.
Signature
(gnus-html-cache-expired URL TTL)
Documentation
Check if URL is cached for more than TTL.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-html.el.gz
(defun gnus-html-cache-expired (url ttl)
"Check if URL is cached for more than TTL."
(cond (url-standalone-mode
(not (file-exists-p (url-cache-create-filename url))))
(t (let ((cache-time (url-is-cached url)))
(if cache-time
(time-less-p (time-add cache-time ttl) nil)
t)))))