acs::disk_cache_flush (public)

 acs::disk_cache_flush -key key -id id

Defined in packages/acs-tcl/tcl/acs-cache-procs.tcl

Flushes the filesystem cache.

Switches:
-key (required)
the key used to name the directory where the disk cache is stored.
-id (required)
the id used to name the file where the disk cache is stored.
See Also:

Testcases:
disk_cache
Source code:
        set dir [ad_tmpdir]/oacs-cache/$key
        foreach file [glob -nocomplain $dir/$id-*] {
            file delete -- $file
            ns_log notice "FLUSH file delete -- $file"
        }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: