Skip to main content

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

FileUpdate
llms.txtLast-Modified header
data.jsonUpdated timestamp field
next.config.jsHTTP cache headers

Boosted Pages

ElementUpdate
<meta article:modified_time>Current date
Year in titlesCurrent year
Footer textCurrent year

Response Format

{
  "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.