walther PRO said 12 months ago on Push Notifications from Scratch :
on a slightly different note - yet very much focused with this PushNotification thing - I'm now seeing this in my log (and I'd hate to deploy this knowing that 1-200 users will soon start generating double GET's almost every second?!?
Started GET "/manifest.json" for 127.0.0.1 at 2023-03-30 20:36:37 +0200
Processing by ServiceWorkers::ManifestsController#index as JSON
  Rendering service_workers/manifests/index.json.erb
  Rendered service_workers/manifests/index.json.erb (Duration: 0.0ms | Allocations: 7)
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.9ms | Allocations: 2283)


Started GET "/manifest.json" for 127.0.0.1 at 2023-03-30 20:36:37 +0200
Processing by ServiceWorkers::ManifestsController#index as JSON
  Rendering service_workers/manifests/index.json.erb
  Rendered service_workers/manifests/index.json.erb (Duration: 0.0ms | Allocations: 7)
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 1.4ms | Allocations: 2283)


Started GET "/manifest.json" for 127.0.0.1 at 2023-03-30 20:36:38 +0200
Processing by ServiceWorkers::ManifestsController#index as JSON
  Rendering service_workers/manifests/index.json.erb
  Rendered service_workers/manifests/index.json.erb (Duration: 0.0ms | Allocations: 7)
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 1.3ms | Allocations: 2283)


Started GET "/manifest.json" for 127.0.0.1 at 2023-03-30 20:36:38 +0200
Processing by ServiceWorkers::ManifestsController#index as JSON
  Rendering service_workers/manifests/index.json.erb
  Rendered service_workers/manifests/index.json.erb (Duration: 0.0ms | Allocations: 7)
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.8ms | Allocations: 2283)


Started GET "/manifest.json" for 127.0.0.1 at 2023-03-30 20:36:50 +0200
Processing by ServiceWorkers::ManifestsController#index as JSON
  Rendering service_workers/manifests/index.json.erb
  Rendered service_workers/manifests/index.json.erb (Duration: 0.0ms | Allocations: 7)
Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 2.1ms | Allocations: 2283)


Started GET "/manifest.json" for 127.0.0.1 at 2023-03-30 20:36:50 +0200
Processing by ServiceWorkers::ManifestsController#index as JSON
  Rendering service_workers/manifests/index.json.erb
  Rendered service_workers/manifests/index.json.erb (Duration: 0.0ms | Allocations: 7)
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 1.1ms | Allocations: 2283)


Started GET "/manifest.json" for 127.0.0.1 at 2023-03-30 20:36:51 +0200
Processing by ServiceWorkers::ManifestsController#index as JSON
  Rendering service_workers/manifests/index.json.erb
  Rendered service_workers/manifests/index.json.erb (Duration: 0.0ms | Allocations: 7)
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.9ms | Allocations: 2283)


Started GET "/manifest.json" for 127.0.0.1 at 2023-03-30 20:36:51 +0200
Processing by ServiceWorkers::ManifestsController#index as JSON
  Rendering service_workers/manifests/index.json.erb
  Rendered service_workers/manifests/index.json.erb (Duration: 0.0ms | Allocations: 7)
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 1.1ms | Allocations: 2283)