Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Information when a file has been cached or modified in the cache #82

Closed
je-mos opened this issue Jun 23, 2022 · 5 comments
Closed

Information when a file has been cached or modified in the cache #82

je-mos opened this issue Jun 23, 2022 · 5 comments

Comments

@je-mos
Copy link

je-mos commented Jun 23, 2022

Hello,

first of all thank you very much for your tool. This is really useful!

I'd like to ask if it would be possible to add a timestamp to every file in the cached file list with the information when the file has been cached or modified in the cache (because the file on disk changed). As far as I know, currently only the last use time is displayed in the GUI file list.

If I remember right, the time of adding the file to the cache should be available via opcache_get_status(). The returned file list should include a key "timestamp" which contains the UNIX timestamp when that file was added to the cache.

Could this information be added to opcache-gui?

Thank you very much!

Best regards,
je-mos

@amnuts
Copy link
Owner

amnuts commented Jul 13, 2022

Hi @je-mos,

Thanks for the kind words, and really sorry for the delay in getting back to you! Yes, I don't see why that can't happen as the information is there anyway. 😄 I'm a bit busy for a week or two, but I'll see about adding it in soon.

@je-mos
Copy link
Author

je-mos commented Jul 14, 2022

Hi @amnuts,

thank you for getting back to me. No problem regarding the delay, we're all very busy these days.

I'm pleased to hear that you're willing to add that information to the file list. I think that will be a valuable addition for everyone using your tool.

Thank you very much for your efforts!

Best regards,
je-mos

@amnuts
Copy link
Owner

amnuts commented Jul 16, 2022

Just to let you know (in case you want to try it before it gets merged into master), this is currently in the branch working/3.4.0, but not going to be too long until I merge it into master.

@je-mos
Copy link
Author

je-mos commented Jul 18, 2022

Hi @amnuts,

thanks a lot! I'm pleased to hear that you've already found the time to work on this. Really nice!

I think I'll wait until the new feature is officially released. I'm very busy at the moment, but will definitely check it out soon.

Keep up the good work!

Best regards,
je-mos

@amnuts
Copy link
Owner

amnuts commented Aug 2, 2022

Now merged into master

@amnuts amnuts closed this as completed Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants