Purpose
Refreshes timestamps on all AI website pages and boosted pages. This keeps content appearing fresh to search engines and AI crawlers.
Architecture
What Gets Updated
Core Files
| File | Update |
|---|
llms.txt | Last-Modified header |
data.json | Updated timestamp field |
next.config.js | HTTP cache headers |
Boosted Pages
| Element | Update |
|---|
<meta article:modified_time> | Current date |
| Year in titles | Current year |
| Footer text | Current year |
{
"status": "success",
"core_files_updated": 3,
"pages_updated": 15,
"pages_failed": 0,
"files": [...],
"project_name": "business-abc123",
"ai_site_url": "https://business.searchcompany.dev",
"updated_paths": ["/topic-1/", "/topic-2/", ...]
}
Code Location
src/app/apis/cron/update_boosted_timestamps/
├── routes.py # HTTP endpoint
├── mini_orchestrator.py # Main orchestrator
├── core_files.py # Core file updates
└── helpers.py # Timestamp utilities
This endpoint returns files but does NOT deploy. Call deploy-to-vercel separately with the returned files.