Commit Graph

123 Commits

Author SHA1 Message Date
Evan Prodromou
416161c943 make user counts use the database table 2010-06-01 13:52:28 -07:00
Evan Prodromou
7d85b79814 Database tables to cache expensive query data
We need to bundle counts of notices and users by date. This can be
expensive for large sites. So, new tables are added to cache the
results of these queries, which don't change after the date is over.
2010-06-01 13:52:28 -07:00
Evan Prodromou
3e349a71ca mark user pages as being high priority 2010-06-01 13:52:28 -07:00
Evan Prodromou
40618b49e1 mark notice pages as being archived 2010-06-01 13:52:27 -07:00
Evan Prodromou
45e6e537ca note that sitemap actions are readonly 2010-06-01 13:52:27 -07:00
Evan Prodromou
1c858e17ea add sitemap statement to robots.txt 2010-06-01 13:52:27 -07:00
Evan Prodromou
e363b724b9 cache notice and user counts in sitemap index 2010-06-01 13:52:27 -07:00
Evan Prodromou
5ff9c0242b make sure notice and user sitemap are 'in' top level directory 2010-06-01 13:52:27 -07:00
Evan Prodromou
3e8172585d cache user data for user sitemap 2010-06-01 13:52:27 -07:00
Evan Prodromou
946cd15e8b cache results of notice sitemap query 2010-06-01 13:52:27 -07:00
Evan Prodromou
610d8021d8 use an array for notice sitemap 2010-06-01 13:52:27 -07:00
Evan Prodromou
8b9ce731f4 max users, notices per sitemap = 50K 2010-06-01 13:52:27 -07:00
Evan Prodromou
4b321f96fc show sitemapindex with user and notice sitemaps 2010-06-01 13:52:27 -07:00
Evan Prodromou
b73c8ff441 Move NOTICES_PER_MAP to SitemapPlugin 2010-06-01 13:52:27 -07:00
Evan Prodromou
144cdb559d bundle users by reg date 2010-06-01 13:52:27 -07:00
Evan Prodromou
9fdafaf07e better calculation for end date in notice sitemaps 2010-06-01 13:52:27 -07:00
Evan Prodromou
35272f638c Start of an action for sitemap index 2010-06-01 13:52:27 -07:00
Evan Prodromou
63c4eef643 change URLs for user sitemap 2010-06-01 13:52:27 -07:00
Evan Prodromou
9e592baa39 move USERS_PER_MAP to plugin 2010-06-01 13:52:27 -07:00
Evan Prodromou
d65a65756b correct element name and namespace for sitemapactions 2010-06-01 13:52:27 -07:00
Evan Prodromou
0a04f9d49d better query for notices by date 2010-06-01 13:52:27 -07:00
Evan Prodromou
524cd9df93 Add a Notice sitemap 2010-06-01 13:52:27 -07:00
Evan Prodromou
ce0e6cb50d user sitemap 2010-06-01 13:52:27 -07:00