Changes between Initial Version and Version 1 of Ticket #264


Ignore:
Timestamp:
2011-09-09T12:06:13+02:00 (3 years ago)
Author:
moo
Comment:

i think it is issued by __FILE __DIR. these constants is expanded to real value at compile time, and as you expected they're stored in cache as 1 copy because files are hard linked (same inode)

can you please try trunk version of xcache? there's a workaround for __FILE and __DIR

otherwise, try un-hardlink and use xcache trunk (2.x), xcache 2 is smart enough to cache 1 copy for multiple same (in content) php files

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #264 – Description

    initial v1  
    33I'm running several servers with Gentoo Linux. Gentoo Linux uses a concept of hardlinking sources of php apps to achieve multiple goals: 
    44 
    5 * It saves a lot of diskspace / inodes 
    6 * You can update all instances of this software at the same time 
    7 * The caching of sources with eaccelerator or xcache is more effective, since all identical scripts have to be cache only once 
    8 * Backups are done faster 
     5 * It saves a lot of diskspace / inodes 
     6 * You can update all instances of this software at the same time 
     7 * The caching of sources with eaccelerator or xcache is more effective, since all identical scripts have to be cache only once 
     8 * Backups are done faster 
    99... 
    1010