Shopify Serve resources from constant URL

3 replies
  • ECOMMERCE
  • |
Hello, I'm new to this shopify platform.

I run one of my site through GTMetrix, and got this "Serve resources from a constant URL". These are the details :-

The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 2 request(s) and 476B.

https://www.vapevandal.com/cart.js
https://www.vapevandal.com/cart.js?v=1531205148565_394
https://www.vapevandal.com/cart/update.js

The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 100.0KiB.

https://sdk.beeketing.com/js/beeketing.js?20180709
https://sdk.beeketing.com/js/beeketi....myshopify.com

The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 3.6KiB.

https://cdn.shopify.com/s/files/1/09...g?v=1521697849
https://cdn.shopify.com/s/files/1/09...g?v=1521697910

The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 3.0KiB.

https://cdn.shopify.com/s/files/1/09...g?v=1527271706
https://cdn.shopify.com/s/files/1/09...g?v=1527271711

The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 2.1KiB.

https://cdn.shopify.com/s/files/1/09...51813724323383
https://cdn.shopify.com/s/files/1/09...75672189588922
May I know, why they happened and how to just make them generate 1 URL if possible?
#constant #resources #serve #shopify #url
Avatar of Unregistered
  • Profile picture of the author dave_hermansen
    There are many dynamic links created by software. For instance, when you click "Sort By", a different URL happens when you click to sort a category a different way. It also happens with paginated content (page 1,2,3 of a category). Even your home page has at least four different different URLs (the http and https versions as well as the www and non-www versions).

    The key is whether or not there is a canonical URL specified in the <head> of the HTML that tells search ingines which page is the single version of that page that you want indexed.

    Shopify does a pretty decent job of putting a canonical link in the <head> automatically, so your software is likely giving you a whole lot of false worry - at least as far as SEO goes.

    GTMetrix is supposed to be a page speed tool and I doubt any of the example files you have shown are the cause of major page speed issues (and even if they were, there is nothing you could do about it on Shopify, anyway).

    In the case of the first two sets, they are javascript files and should be blocked by robots.txt. Even if they aren't for some reason, who cares? It's not like you are trying to rank either of those pages for anything.

    I cannot tell you why there are different versions of the same image in the other three examples. Then again, those, too, are not "pages" that I would worry about ranking for.

    I'm not sure why you are even using this tool. Your pages load plenty fast enough (as do all Shopify sites) and there is no rankings boost for creating lightning fast pages. Google only penalizes SUPER SLOW pages but doesn't give you any brownie points for being faster than the average site. As long as your pages don't load so slow, real people will get annoyed and leave, your pages load fast enough.
    Signature
    BizSellers.com - The #1 place to buy & sell websites!
    We help sellers get the MAXIMUM amount for their websites and all buyers know that these sites are 100% vetted.
    {{ DiscussionBoard.errors[11395143].message }}
    • Profile picture of the author Nazrin Noorzan
      I'm trying to increase the page speed score. Getting an F is pretty bad though. Plus, personally I could feel the page is loading kinda slow than other standard e-commerce sites.
      {{ DiscussionBoard.errors[11407487].message }}
      • Profile picture of the author dave_hermansen
        Originally Posted by Nazrin Noorzan View Post

        I'm trying to increase the page speed score. Getting an F is pretty bad though. Plus, personally I could feel the page is loading kinda slow than other standard e-commerce sites.
        Think about the source of that "F" score and what they are selling. It'd be pretty tough to make any money if every site got good scores.
        Signature
        BizSellers.com - The #1 place to buy & sell websites!
        We help sellers get the MAXIMUM amount for their websites and all buyers know that these sites are 100% vetted.
        {{ DiscussionBoard.errors[11407976].message }}
Avatar of Unregistered

Trending Topics