Replies: 1 comment
-
Documentation does not mention the restriction on the modification date. I think store date as modified time more performance solution than save and load date from file content. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have saw this line: https://github.com/yiisoft/cache-file/blob/master/src/FileCache.php#L163 Would you think this is safe way to store TTL? What about store one as first line in the file and use next lines as cached value like this:
It's just a question because I had tried to find out whether can I use future time for time of creating of the file and didn't find any strong answer. But I think that time of creating should be time of creating and no more.
Beta Was this translation helpful? Give feedback.
All reactions