Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
cea2ad1e
Commit
cea2ad1e
authored
May 14, 2018
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sync std.fileread() docs with reality
The blind caching is OBE for six years now, see
344a709c
parent
b55cfa1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
vmod.vcc
lib/libvmod_std/vmod.vcc
+2
-4
No files found.
lib/libvmod_std/vmod.vcc
View file @
cea2ad1e
...
...
@@ -107,10 +107,8 @@ Example
$Function STRING fileread(PRIV_CALL, STRING)
Description
Reads a file and returns a string with the content. Please
note that it is not recommended to send variables to this
function the caching in the function doesn't take this into
account. Also, files are not re-read.
Reads a file and returns a string with the content. The result
is cached indefinitely per filename.
Example
synthetic("Response was served by " + std.fileread("/etc/hostname"));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment