Arie Setiawan
Forum Replies Created
-
Hello, thanks for solving this issue. i’ve tried it again on my website and it was worked.
hello @arunbasillal
the service worker is successfully generated when i remove cache header for javascript on nginx. it run like it was. but the service worker not generated when i activate onesignal plugin. it
https://ariestwn.com/OneSignalSDKWorker.js.phpreturn 404.error.log :
2018/12/29 07:36:51 [error] 4968#0: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 125.161.106.4, server: ariestwn.com, request: "GET /OneSignalSDKWorker.js.php HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "ariestwn.com"- This reply was modified 7 years, 5 months ago by Arie Setiawan.
- This reply was modified 7 years, 5 months ago by Arie Setiawan.
i tried to turn off pagespeed cache and plugin autoptimize. but its just the service worker that not generated automatically. i dont know what cause of this problems.
I have tried it a few hours ago. and not change anything. if it was the problem from our server. then why the older version of the pluggin work perfectly ?
no, i’m not using any security plugins.
and yup, after deleting the cache from server. the service worker return 404 again. note: i only run the plugin superpwa. the plugin from onesignal is deactivate.
Hi @arunbasillal
thanks for replying. i think the problem is not caused by web server. yes i’m running my website on nginx.@josevarghese
Thankyou for replying, before the problem solved. i installed older version of the plugin 1.9. and i deactivate the latest version of the plugin 2.0 until my ticket got replied you guys.after reading your reply, i deactivate the onesignal plugin and older version of superpwa. and then activate latest version of the plugin. On this case, service worker is run perfectly. after that i activate the onesignal plugin, set the superpwa manifest. and the problem was solved completely.
but, why the file OneSignalSDKWorker.js.php show cacheName as superpwa-1.9 ?