When you run a WooCommerce store with hundreds or thousands of SKUs (flooring, wall panels, hardware, or B2B supplies), HTML price list pages are great for search traffic, while contractors and buyers still ask for a downloadable PDF to forward to clients.
Our first naive instinct was to generate static .pdf files under /wp-content/uploads/ and link directly to them. Within weeks, three practical issues showed up:
Stale prices behind aggressive caching. Static .pdf assets matched nginx expires max rules and proxy caches, so buyers kept downloading last month's prices after a catalog update.
Duplicate content signals for search engines. Search bots started crawling both the HTML price page and the PDF version. Adding X-Robots-Tag: noindex alongside a canonical header caused mixed signals.
Random HTTP 500 errors during live timestamp stamping. We wanted every downloaded PDF to show the exact download timestamp and a short validity note on page 1.…