Ive seen a similar thread on this but it was back in 2010 and nobody had an answer for it. So maybe something changed?
Ive already tried using cloudflare which has reduced my first page load time to about 3 seconds which is OK. Im trying to get it down even more and ive signed up to Max CDN (one year is free!)
http://support.netdna.com/knowledgebase/custom/
The way it works it automatically caches images the first time its loaded and then serves these from the nearest location server they have to the user.
Also does the same with stylesheets and scripts
Im trying to get my load down to under 2 seconds for SEO purposes.
Here is how it works with images
Replace: <img src=”ORIGIN_URL/images/logos/big.jpg” /> or <img src=”/images/logos/big.jpg” /> With: <img src=”ZONE_URL/images/logos/big.jpg” />
Pretty simple really.
Stylesheet
Replace: <link rel="stylesheet" href="ORIGIN_URL/css/styles.css" type="text/css" /> or
<link rel="stylesheet" href="/css/styles.css" type="text/css" />
With: <link rel="stylesheet" href="ZONE_URL/css/styles.css" type="text/css" />
Script
Replace: <script type='text/javascript' src='ORIGIN_URL/public/js/jquery-1.3.2.min.js'></script> or
<script type='text/javascript' src='/public/js/jquery-1.3.2.min.js'></script>
With: <script type='text/javascript' src='ZONE_URL/public/js/jquery-1.3.2.min.js'></script>
So its all cached autmomatically first time its requested.
Is there a way in Zen cart to put my ZONE_URL prefix in instead? Maybe theres a simple file somewhere to hack to get it to work?
Thanks
Bookmarks