Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PWA: Register service worker on contao backends #1532

Closed
may17 opened this issue May 24, 2018 · 3 comments
Closed

PWA: Register service worker on contao backends #1532

may17 opened this issue May 24, 2018 · 3 comments
Assignees

Comments

@may17
Copy link
Contributor

may17 commented May 24, 2018

One common problem while working with service workers and contao is that you always have to register two serviceworkers. One for the frontend with scope "/" and one for the backend with scope "/contao" to ensure that the frontend service worker is not responsible for the backend and does not wait for opened backend tabs.

We could also combine this with an default offline page instead of showing the downasaur :)

@leofeyer
Copy link
Member

Sounds reasonable. How would we do that? 😄

@may17
Copy link
Contributor Author

may17 commented Jun 15, 2018

I‘ll create an pull request :)

@stefansl
Copy link
Contributor

Would be a nice feature, when Contao could write the sw.js for us. With all features like cache invalidation, assets caching ...

leofeyer pushed a commit that referenced this issue Mar 12, 2020
Description
-----------

According to the manual mentioned above these lines, the cookies **start with** the mentioned names, and that's exactly what I've discovered on a @Pellinger's website.

> To track visitors, Matomo (Piwik) by default uses 1st party cookies, set on the domain of your website. Cookies created by Matomo **start with**: _pk_ref, _pk_cvar, _pk_id, _pk_ses. When you use the Heatmap & Session Recording plugin, a cookie _pk_hsr will be created.

Commits
-------

c2d59f1a Fixed Piwik/Matomo cookie regex
@leofeyer leofeyer added the stale label Jun 12, 2020
@leofeyer leofeyer closed this as completed Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants