35 | | * '''Fullpage cache''': This cache system simply takes the output of a page and saves it for the future. It uses the start_cache() and end_cache() functions in cache.inc. The pages may not be translation-aware (otherwise some users will see the wrong language). |
36 | | * '''Fullpage cache with translation''': You can make the language part of the cache filename. (To do this, you need to adapt the code in cache.inc). This can be inefficient because it stores a separate copy of the page for each language. |
37 | | * '''Object cache''': This stores the data used to create the page and recreates the page every time (using any language you'd like). Use get_cached_data() in cache.inc. This is perfect for pages that are accessed commonly and by people from many nationalities (currently the top-X pages support it). |
| 34 | * '''Fullpage cache''': This cache system simply takes the output of a page and saves it for the future. It uses the `start_cache()` and `end_cache()` functions in [source:trunk/boinc/html/inc/cache.inc cache.inc]. The pages may not be translation-aware (otherwise some users will see the wrong language). |
| 35 | * '''Fullpage cache with translation''': You can make the language part of the cache filename. (To do this, you need to adapt the code in `cache.inc`). This can be inefficient because it stores a separate copy of the page for each language. |
| 36 | * '''Object cache''': This stores the data used to create the page and recreates the page every time (using any language you'd like). Use `get_cached_data()` in `cache.inc`. This is perfect for pages that are accessed commonly and by people from many nationalities (currently the top-X pages support it). |