Difference between revisions for Users / Eo Ny / dev
| Version1 | Version2 | ||
|---|---|---|---|
| 112 | 112 | ||
| 113 | ---- | 113 | ---- |
| 114 | 114 | ||
| 115 |
===== |
115 | =====##store_cache(): void##===== |
| 116 | Saves the generated page content to cache file. | 116 | Saves the generated page content to cache file. |
| 117 | 117 | ||
| 118 | **Features:** | 118 | **Features:** |
| … | … | … | … |
| 122 | - Only executes if caching flag is set and user is anonymous | 122 | - Only executes if caching flag is set and user is anonymous |
| 123 | 123 | ||
| 124 | **Example:** | 124 | **Example:** |
| 125 |
%% |
125 | %%(hl php) |
| 126 | // Called at end of page rendering | 126 | // Called at end of page rendering |
| 127 | $http->store_cache(); | 127 | $http->store_cache(); |
| 128 | %% | 128 | %% |