Fastly currently only supports 64k files. There are some cases where files can grow beyond 64k.
I have been asking and looking for ways to reduce the file size and to break up these files and make them more manageable.
One thing some large VCL files seem to do is of some sort of IP filtering.
All of the conditionals have repeated characters and can take up a lot of space. Varnish does have a solution for this: ACLs.
Another thing I have seen people do with large files is break them up and use VCL include statements. This does not limit file size per se, but it does get around the size issue.
I am curious about other problems people are seeing with their VCL and their solutions.
I am looking for solutions to both complexity and code size.
Please sign in to leave a comment.