ampproject / ampproject/samples

404 on reload

Open
#70 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
HTML
Stars
452
Forks
187
PR merge metrics
No merged PRs in 30d

Description

To reproduce:

0. Use a browser that supports service workers such as Chrome or Firefox.
1. Load https://choumx.github.io/amp-pwa/content/21.amp.html.
2. Hit reload.

Actual:

![data-text-html chromewebdata nexus 5x](https://user-images.githubusercontent.com/51244/27976964-571634dc-6371-11e7-8b36-16208fba232a.png)

Expected:

![choumx github io-amp-pwa-content-21 amp html nexus 5x](https://user-images.githubusercontent.com/51244/27976999-7c107ce8-6371-11e7-8ec4-d24c30210a73.png)

Note: Force reload (shift-cmd-R on macOS) produces the expected behavior.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue at https://choumx.github.io/amp-pwa/content/21.amp.html in Chrome or Firefox, then reload normally and with a force reload. Start by inspecting the service-worker behavior for the page. Done means a normal reload produces the expected page rather than a 404, while preserving the force-reload behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.