Server Response Time | Community
Skip to main content
Robb_Barrett
Level 10
March 24, 2016
Solved

Server Response Time

  • March 24, 2016
  • 3 replies
  • 6845 views

I know that we can't enable caching, but what can be done to fist laggy server response times? I've been checking my pages on Google's PageSpeed Insights tool and last night I got an 86, this morning a 73 mostly due to laggy server response times. My most recent test is 1.6 seconds and Google is red flagging it.

I'm also getting flagged for our server not using gzip compression.

These factors, from what I've read, make The Algorithm not love my pages but they're not things I have any control over as they're server-side.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

Thanks, Edward! Yes, you can get major improvements by loading Marketo LPs and assets though a CDN such as CloudFront or Fastly.

Not only that, but you usually get SSL onboarding for free, which is a major cost advantage.  The overall cost for your domain might  be < $20 per month, especially if you give everything a nice long expiry (for Marketo to offer this service to all customers for free would be a financial hit for them, but for an individual site it can be a near-negligible expense).

3 replies

Josh_Hill13
Level 10
March 24, 2016

Depends on the code you have on the page too, right? Ask Support to see if your instance or pod is having issues.


if speed is that important that 1.6s is too slow, then you may want to push your forms and pages to your main site.

Edward_Unthank_
Level 7
March 24, 2016

You can move all your assets (images, CSS, JS) hosted on Marketo to a CDN instead, which can increase performance quite a bit if you're not already doing this. If you're looking to go beyond that and don't use server-side dynamism as much, you can take it further and apply your own caching to Marketo. That's one of @Sanford Whiteman​'s area of expertise.

Cheers,

Edward

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
March 24, 2016

Thanks, Edward! Yes, you can get major improvements by loading Marketo LPs and assets though a CDN such as CloudFront or Fastly.

Not only that, but you usually get SSL onboarding for free, which is a major cost advantage.  The overall cost for your domain might  be < $20 per month, especially if you give everything a nice long expiry (for Marketo to offer this service to all customers for free would be a financial hit for them, but for an individual site it can be a near-negligible expense).

March 28, 2016

When using Fastly as a CDN how would you fix this issue where everyone's inferred company shows up as Fastly?

Hiram_Cruz
Level 2
March 9, 2017

Thanks Sanford, how can you load marketo assets through a CDN? Will this work if you are using non-marketo landing pages? We're trying to improve site speed performance and the highest priorities for Marketo are:

Leverage Browser Caching:

  • learn.cpcstrategy.com/js/forms2/css/forms2-theme-inset.css (expiration not specified)
  • learn.cpcstrategy.com/js/forms2/css/forms2.css (expiration not specified)
  • learn.cpcstrategy.com/js/forms2/js/forms2.js (expiration not specified)
  • learn.cpcstrategy.com/js/forms2/js/forms2.min.js (expiration not specified)
  • http://munchkin.marketo.net/munchkin.js (expiration not specified)

Enable gzip compression:

  • Compressing learn.cpcstrategy.com/index.php/form/getForm?munchkinId=006-GWW-889&form=1599&url=http%3A%2F%2Fwww.cpcstrategy.com%2Fblog%2F&callback=jQuery110203861250928462536_1489088899680&_=1489088899681 could save 3.6KiB (65% reduction).
  • Compressing learn.cpcstrategy.com/index.php/form/getForm?munchkinId=006-GWW-889&form=1155&url=http%3A%2F%2Fwww.cpcstrategy.com%2Fblog%2F&callback=jQuery110203861250928462536_1489088899684&_=1489088899685 could save 3.6KiB (65% reduction).
  • Compressing learn.cpcstrategy.com/index.php/form/getForm?munchkinId=006-GWW-889&form=1139&url=http%3A%2F%2Fwww.cpcstrategy.com%2Fblog%2F&callback=jQuery110203861250928462536_1489088899682&_=1489088899683 could save 3.5KiB (64% reduction).

Thanks for your contribution on this subject! 

- Hiram

SanfordWhiteman
Level 10
March 10, 2017

Yes, you can load Marketo assets via a CDN from non-Marketo LPs, though it is not as straightforward since the paths are not relative (simply serving your LP domain via CDN includes all relative paths as well).

But don't overreact to claims like "expiration not specified."  Automated testing tools want to be as alarmist as possible, but they are often incorrect. "Not specified" doesn't mean "not cached." It means the browser heuristically caches the assets according to its own internal algorithm. You can see easily in your Dev Tools that such assets are still loaded from your local computer's cache, and passing them via CDN, for a single end-user, would not make them any faster. Caching assets at the CDN has benefits for other users, but that is not exactly the same question.

Hiram_Cruz
Level 2
March 10, 2017

So if you're already using a CDN for your LP domain, your marketo assets are already being cached and delivered along with your other assets? LP: cpcstrategy.com/amazon-a-content-guidebook-brands/

Anything we can do in regards to gzip compression on Marketo files?

  • Compressing learn.cpcstrategy.com/index.php/form/getForm?munchkinId=006-GWW-889&form=1599&url=http%3A%2F%2Fwww.cpcstrategy.com%2Fblog%2F&callback=jQuery110203861250928462536_1489088899680&_=1489088899681 could save 3.6KiB (65% reduction).
  • Compressing learn.cpcstrategy.com/index.php/form/getForm?munchkinId=006-GWW-889&form=1155&url=http%3A%2F%2Fwww.cpcstrategy.com%2Fblog%2F&callback=jQuery110203861250928462536_1489088899684&_=1489088899685 could save 3.6KiB (65% reduction).
  • Compressing learn.cpcstrategy.com/index.php/form/getForm?munchkinId=006-GWW-889&form=1139&url=http%3A%2F%2Fwww.cpcstrategy.com%2Fblog%2F&callback=jQuery110203861250928462536_1489088899682&_=1489088899683 could save 3.5KiB (64% reduction).