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

[Performance] Proper CDN integration for bitshares.org #85

Open
dls-cipher opened this issue Jun 5, 2019 · 0 comments
Open

[Performance] Proper CDN integration for bitshares.org #85

dls-cipher opened this issue Jun 5, 2019 · 0 comments
Assignees
Labels
bug Something isn't working DNS Any issue related to DNS Auth/management enhancement New feature or request P1 High Priority issue seo Optimizations for better visibility with search engines system admin/networking Anything related to nodes or hosting management (SEO optimizations, security, setups, etc.) web development Any issue related to web development

Comments

@dls-cipher
Copy link
Contributor

dls-cipher commented Jun 5, 2019

Introduction: Yesterday bitshares.org was failing to load properly during some hours. That happened as result of a live testing of php /w cdn version of bitshares.org website in order to hit highest score in metrics.

Result: CDN test - failed.

Reason: bitshares.org domain is currently using CloudFlare DNS. By doing so, it falls under the constant pressure of enforced cookies by DNS, very strict and legal ones that doesn't require user to accept them, but when it comes to some metrics in SEO and Optimizations (such as YSlow!), bitshares.org fails to deliver content/media from proper cookie-less domain even if serving them over CDN.

Cons: Different to WordPress, where different plugins and rules of structure of it (wp-content folder being defined by default as cookie-less), and where we were able to deploy CDN and enforce stripdown of cookies served by news.bitshares.org or cdn.bitshares.org, resulting in top scores on metrics. Unfortunately, php/html static websites have no such option.

Solution: Currently bitshares.org worker is prepaid to StackPath and has more budget left in it to serve properly requests coming from news.bitshares.org.

  • We leave news.bitshares.org using StackPath CDN.
  • We purchase subscription for KeyCDN who offers in panel "Strip Cookies" and ignores what origin says.
  • We setup/configure KeyCDN to serve for bitshares.org origin all the content from edge.bitshares.org CDN powered origin.
  • We re-test ready php /w CDN version of bitshares.org

Estimate: 3 hours with testing.

P.S. Since yesterday I've logged nearly 4 hours on entire mess already, trying to push origin that is being ignored by DNS, I believe that this task will be deployed/done without any additional hours logged/submitted to the worker.

Chee®s

@dls-cipher dls-cipher added bug Something isn't working enhancement New feature or request web development Any issue related to web development system admin/networking Anything related to nodes or hosting management (SEO optimizations, security, setups, etc.) DNS Any issue related to DNS Auth/management P1 High Priority issue seo Optimizations for better visibility with search engines labels Jun 5, 2019
@dls-cipher dls-cipher added this to the June 1/2 Sprint milestone Jun 5, 2019
@dls-cipher dls-cipher self-assigned this Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working DNS Any issue related to DNS Auth/management enhancement New feature or request P1 High Priority issue seo Optimizations for better visibility with search engines system admin/networking Anything related to nodes or hosting management (SEO optimizations, security, setups, etc.) web development Any issue related to web development
Projects
None yet
Development

No branches or pull requests

1 participant