Is there a way I could determine how many bytes of data can I cache:
Code: Select all
apc_store('foo', $bar);One more question, what happens if the limit of bytes has exceeded for the cache? The apc_store() returns a false?
Moderator: General Moderators
Code: Select all
apc_store('foo', $bar);apc_sma_info() will return the available memory for each segmentkaisellgren wrote:Is there a way I could determine how many bytes of data can I cache:
Cache is shared across all customers that share the same web server.kaisellgren wrote:More over, is that cache shared with other processes or customers on shared hosting?
Haven't tried, but I'm always careful about TTL for cache entries, and explicitly clear down anything that I no longer intend to usekaisellgren wrote:One more question, what happens if the limit of bytes has exceeded for the cache? The apc_store() returns a false?