Changes between Version 2 and Version 3 of AutoHardLinking
- Timestamp:
- 08/07/2009 04:13:00 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AutoHardLinking
v2 v3 1 1 [[PageOutline]] 2 = Content Shared Hash Caching =2 = Auto Hard Linking = 3 3 == The problem == 4 4 Many of you run your own server/vps that install only 1 copy of each web applications under your server document root, while some other of you, the vhost provider, allow every user install their own copy. For example, [http://www.vbulletin.com/ vBulletin] may be installed under each user's vhost document root. This result in not only disk read/seek without XCache installed, but also consume huge memory for caching them with XCache installed. Most *.php file is bigger after compiled/cached. 5 5 6 6 == The Solution == 7 XCache has introduced a way to solve this headache once and for all. This is called content shared hash caching. Whatever it called, let's see what it does.7 XCache has introduced a way to solve this headache once and for all. This is called auto hard linking. Whatever it called, let's see what it does. 8 8 9 9 It's easier to demonstrate in PHP pseudo code. … … 36 36 37 37 == FAQ == 38 * How about the !__FILE!__ and !__DIR!__ in *.php that [ticket:117 get cached]? Don't worry, i had a [changeset:662 back-patching] to fix it already 38 * How about the !__FILE!__ and !__DIR!__ in *.php that [ticket:117 get cached]? Don't worry, i had a [changeset:662 back-patching] to fix it already. 39 * "I have hard link in filesystem, is !__FILE!__ ok?". Nope, not yet. But it is not necessary anymore.

