View Single Post
  #5  
Old 12-14-2012, 08:15 AM
semprot semprot is offline
Member
 
Join Date: Apr 2012
Posts: 41
Quote:
Originally Posted by NiteWave View Post
no, it's not much related. do you know how many variables will be cached ?
say there are 100 variables, then set user_entries_hint a bit larger than 100, e.g., 120 will avoid fragmentation.
Sorry i still don't understand.

If i want to cache 3 variables at same script execution :
PHP Code:
$one '1234567890';// 10 characters
$two '123456789012345';// 15 characters
$three '12345678901234567890';// 20 characters 
user_entries_hint should be larger than which one?
  • > 3 (number of variables)
  • > 45 (10 characters + 15 characters + 20 characters)
  • > 20 (max characters on all variables)
__________________
I use litespeed
Reply With Quote