Dlib error

What is this

ERROR:DLIB: Trying to cache an entry with no tag and max-age set to 0

??? Never seen before…

I am using 1.2.181.

In 1.2.181 we fixed a bug in our http cache where we didn’t properly handle a server response containing both and ETag and Max-Age header:

The log message tells you that the HTTP response contains no ETag or Max-Age and that it will not be cached. BUT the log message indicates that it is an error which is incorrect. And in most cases the developer can’t even do anything about this and in some cases it is completely correct that the server returns no cache info.

The log message will be removed in 1.2.182:

We have also identified further improvements to HTTP caching:

It’s a really good beginners issue so please consider this if you want to help out with Defold development!

4 Likes