NFR-10: CMS-inhoud is direct zichtbaar, herbouw alleen voor SEO
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -874,3 +874,11 @@
|
||||
**Context**: U6 inception, scope question settled.
|
||||
|
||||
---
|
||||
|
||||
## CMS content must be live (owner principle)
|
||||
**Timestamp**: 2026-11-12
|
||||
**User Input**: "Alles uit het CMS moet meteen zichtbaar zijn op de website. het zou alleen voor SEO gerebuild moeten worden"
|
||||
**AI Response**: Recorded as NFR-10. Pattern: crawler-readable HTML (host injection on SLP, build bake on ASF) plus client refresh from the API on load. ASF hybrid packages and live banner approved; SLP website must read packages and the OfferingBanner live as well.
|
||||
**Context**: U6 / ASF packages.
|
||||
|
||||
---
|
||||
|
||||
@@ -48,6 +48,8 @@
|
||||
|
||||
- **NFR-9 SEO and performance (U6)**: static text is prerendered into the HTML at build; dynamic parts (packages, later gallery) are injected by the CMS host from current data, fresh within minutes; canonical, Open Graph/Twitter, favicon set, JSON-LD (organisation and offers), `robots.txt` and `sitemap.xml`; test hosts serve `Disallow: /` and `X-Robots-Tag: noindex` from the host, not the bundle; Lighthouse in the pipeline on mobile and desktop is a hard gate of at least 0.9 per category (exceptions only with a recorded owner decision); no new third-party scripts.
|
||||
|
||||
- **NFR-10 CMS content is live (owner principle, 2026-11-12)**: everything that comes from the CMS (packages, banner, later the gallery) is visible on the website immediately after a change in the CMS; a rebuild exists only for SEO (HTML and structured data that crawlers read). Pattern for all sites: baked-in or host-injected HTML for crawlers plus a client-side refresh from the API on load; on failure the baked version stays (no empty prices). Applies to SLP Software, Andrea Slop Fotografie and future sites.
|
||||
|
||||
## Assumptions
|
||||
- Current copy and texts of the live site (incl. the November text update) are leading unless the design says otherwise.
|
||||
- The packages API keeps its current shape plus `category`; the CMS session implements it.
|
||||
|
||||
Reference in New Issue
Block a user