I am looking for some information about caching a php. All info i found are to cache a php file in certain time interval (every some hours). Is there any way to cache for every 50 page views? After every 50 page views, the cached file should expire.
Anyone has any idea about this?
Thank you in advance!