question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[META] Page load speed improvements

See original GitHub issue

[META] Page load speed improvements - meta bug

The page load speed of the new developer portal can be easily improved by adopting standard performance practices. The following were observed by running the foo.developer.azure-api.net developer portal link through the WebPageTest.org test harness:

1 . GZIP compression is not used by the server

  1. The theme’s static assets are not served with Cache-Control headers (max-age and expires)

  2. CDN is not used for static assets or image assets

page-load-speeds

Out of the above (1) and (2) are really easy to do, and should done quickly in the hosted APIM configuration (i.e NOT the self-hosting configuration)

Reproduction steps

  1. Go to webpagetest.org, and paste link of any managed developer portal: e.g foo.developer.azure-api.net
  2. Run test in default configuration (Dulles, VA test client + any Azure region APIM developer portal)
  3. See ‘F’ grade in content serving.

Expected behavior

A grade in “compress transfer”, and “cache static content” categories on WebPageTest.org test results

Is your portal managed or self-hosted?

Managed

Release tag or commit SHA (if using self-hosted version)

Managed version as of 6-Jan-2020

API Management service name

Any

Environment

Any browser

Additional context

Page loading speed is critical for public-facing developer portals.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
AnRei123commented, Feb 22, 2021

Today and the last week, the loading speed of DevPortal pages was a nightmare for different environments. The speed is varying from immediately if part of the cache up to several minutes for switching between single pages. A high and consistent page load speed is crucial to get a good user experience. Currently, it is like an old car you try to start when you switch between pages. Could work properly or could take forever.

1reaction
mikebudzynskicommented, Jun 15, 2020

Headers have already been added; compression still pending implementation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to evaluate and improve page speed - Moz
Page speed is a measurement of how fast the content on your page loads. ... page speed. This will help to improve your...
Read more >
Best Practices to Improve Mobile Site Performance - Facebook
Publishers can take steps to improve website load time. Mobile site load time may be impacted by a number of factors, including quality...
Read more >
Page speed optimization: How to improve your loading times
Find out what causes a slow page speed, and discover 24 ways to optimize your loading times for an improved user experience and...
Read more >
9 Quick Ways to Improve Page Loading Speed - HubSpot Blog
1. Choose a performance-optimized hosting solution. · 2. Compress and optimize your images. · 3. Reduce your redirects. · 4. Cache your web...
Read more >
Optimizing Page Experience for Google Recommended Page ...
The recommended page load time for websites on both mobile and desktop devices is <3 seconds, says Google. However, the search engine giant...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found