sirko-io / engine

Benefit from new browsers' technologies to speed up your site
GNU General Public License v3.0
43 stars 3 forks source link

The referral parameter may not be important #16

Closed dnesteryuk closed 7 years ago

dnesteryuk commented 7 years ago

According to this article, a value of optimization different group of pages is different. The sirko client might only be applied to certain sections of the site.

The referral parameter was introduced to get a smooth path of a user's navigation. We tried to avoid missing transitions between pages. However, It might be ok, we have to check it.

Considering the fact that the sirko client might only be added to certain pages, the referral becomes useless.

dnesteryuk commented 7 years ago

After working on #27, it became obvious the current model requires the referrer parameter.

When this task was created, there was an assumption that the reffer could be detected by getting the last visited page from the chain. But, it cannot be like that. The user might open a few tabs, hence, the last visited page might not be a reffer to the current page.

Example:

Tab 1: /home -> /contact -> /blog (the last visited page by time) Tab 2: /home -> /projects -> /portfolio

Different tabs have different last pages which will become referrers to next pages.