Bug #282
[RESEARCH] static pages cache
| Status : | Closed | Start : | ||
| Priority : | Normal | Due date : | ||
| Assigned to : | tobi - | % Done : | 0% |
|
| Category : | frontend | |||
| Target version : | 2.5 | |||
| Resolution : | fixed |
Description
This patch adds caching to the main pages, so they are served as static pages. The timestamps are displayed using javascript using the trick from #98.
- feeds in the sidebar won't be updated unless the cache is swept, so they may be in different states across the pages.
- the pagination links at the bottom are cached but not swept...
Oh and that probably supercedes #21.
Associated revisions
Revision 0acd32ecb5d1b648a38f14b146f4a861f9541127
Tags. (closes #282)
git-svn-id: http://svn.typosphere.org/typo/trunk@533 820eb932-12ee-0310-9ca8-eeb645f39767
History
06/30/2005 05:41 PM - Redmine Admin
This (read-rhtml-js-conflict.diff) fixes the date display on the per-article page... the js code from the view was overriding the window.onload functions set from typo.js
07/18/2005 02:12 PM - tobi -
- Status changed from New to Closed
- Resolution set to fixed
(In r337) typo is now full static. The entire front end comes from static pages which are swept on commenting, trackbacks, new article posts and category changes.
This means we cannot do the "posted 25 minutes ago" business but we can easily serve in excess of 1k pages per second so this should be worth it.
07/18/2005 05:36 PM - Redmine Admin
- Status changed from Closed to Feedback
- Resolution deleted (
fixed)
OK, merged my stuff with r337 in caching-v3.diff.
That patch still has the js_distance_of_time_to_now stuff and my route scheme (i.e. .../pageNN); going with .../page/NN requires duplicating many routes. I'll do that in a separate patch.
07/18/2005 05:56 PM - Redmine Admin
The edit/nuke buttons that will show for all users if the page cache was generated for a logged admin user.
07/18/2005 08:44 PM - Redmine Admin
This (caching_admin_tools_fix-v2.diff, forget the previous one) fixes the edit/nuke buttons display problem.
