Changeset 166031
- Timestamp:
- 10/22/2009 10:55:48 PM (16 years ago)
- File:
-
- 1 edited
-
cache-translation-object/trunk/readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cache-translation-object/trunk/readme.txt
r165890 r166031 6 6 Stable tag: 1.0 7 7 8 Substantially increase performance of localized WordPress by caching the translation (l10n) object between pageloads.8 Substantially increase performance of localized WordPress by caching the translation (l10n) object. Supports multiple languages. 9 9 10 10 == Description == 11 11 12 On every pageload a localized WordPress blog spends a huge amount of time setting up the translation (l10n) object. Compared to an un-translated site the startup can take up to four times longer.12 On every pageload a localized WordPress site spends a huge amount of time setting up the translation (l10n) object. Startup for a localized site can be almost four times slower than an untranslated one. 13 13 14 This plugin stores the translation (l10n) object between pageloads resulting in significantly better performance.14 This plugin stores the translation object between pageloads so it only has to be created once, resulting in significantly better performance (performance graph included with screenshot). 15 15 16 Available storage: As a file, APC (Alternative PHP Cache), or SHMOP (Shared Memory) 16 Plugin supports caching multiple languages (if you use a multi-language plugin). 17 18 Available storage: Plain file, APC (Alternative PHP Cache), or SHMOP (Shared Memory) 17 19 18 20 == Installation == … … 21 23 2. Activate the plugin through the WordPress admin interface. 22 24 3. Select an available storage on options page (see FAQ for more details if necessary). 23 3a. If storing as a file make sure we can write to it.24 4. If you run multiple WordPress sites on the same host please consult the plugin homepage for more information.25 4. File storage needs write permissions (once) to wp-content after install to set up the directory used for storage (`wp-content/cache/l10n-cache`). Once set up is finished wp-content should be kept write protected. 26 5. If you run multiple WordPress sites on the same host please consult the plugin homepage for more information. 25 27 26 28 If you have any questions or problems go to: http://devel.kostdoktorn.se/cache-translation-object … … 28 30 == Frequently Asked Questions == 29 31 30 = Wh at storage is fastest? =32 = Which storage is better / faster? = 31 33 32 The exact numberswill depend on your configuration but in my testing APC is a tiny bit faster than shared memory which is a bit faster than plain file storage. Check out the plugin homepage for some graphs.34 The exact performance will depend on your configuration but in my testing APC is a tiny bit faster than shared memory which is a bit faster than plain file storage. Check out the plugin homepage for some graphs. 33 35 34 36 = What is APC (Alternative PHP Cache)? = … … 36 38 "The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. Its goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code." 37 39 38 It is not usually installed with PHPby default.40 It is not usually installed by default. 39 41 40 42 = What is SHMOP (Shared Memory)? = 41 43 42 Itis a PHP interface to handle Unix shared memory segments. It should be available by default on Linux/Unix servers. On Windows it may be possible to enable in PHP.ini.44 SHMOP is a PHP interface to handle Unix shared memory segments. It should be available by default on Linux/Unix servers. On Windows it may be possible to enable in PHP.ini. 43 45 44 = How do I make the file writable? = 46 On some older systems (and Windows) shared memory may have problems when multiple languages are cached. (If `Open slots` in the debug storage information keeps decreasing you should choose a different storage type.) 47 48 = How do I make files writable? = 45 49 46 50 `http://codex.wordpress.org/Changing_File_Permissions` 47 51 48 The file must be writable by the webserver when using file storage.52 File storage write files to `wp-config/cache/l10n-cache/`. These directories will be created automatically if `wp-config` is writable at first use. Once these sub-directories are created `wp-config` should be kept write protected. 49 53 50 = I want to change where the file is written=54 = I want to change where the files are stored = 51 55 52 Currently you'll have to do it by hand. Find the defineat the top of wp-content/plugin/cache-translation-object/cache-translation-object-file.php56 Currently you'll have to do it by hand. Find it at the top of wp-content/plugin/cache-translation-object/cache-translation-object-file.php 53 57 54 58 == Screenshots == … … 60 64 61 65 = Version 1.1 = 62 * Handle multiple locales 63 * Split out admin functions in separate file 66 * Rewritten to cache multiple locales separately 67 * Split out admin functions into separate file 68 * Handle old SHM with questionable delete behaviour by relocating as necessary. 69 * Add storage debug info link 64 70 * Do not default to any specific storage type, make user choose 65 * Tell admin when something is wrong !71 * Tell admin when something is wrong (also better error handling). 66 72 * Added plugin localization 67 73 * Added Swedish translation
Note: See TracChangeset
for help on using the changeset viewer.