Improve prestashop site page speed - performance

Hi i want improve prestashop page speed
i tried following thing
https://www.prestashop.com/blog/en/10-best-tips-to-speed-up-your-prestashop-store-3/
Speed Up your Site and compression with htaccess file (also tries this )
minfied css & js
use cdn (but not working )
Is there any way for do this currently page speed is 11.6 i need it 4-5.
Thanks in advance

You should use Prestashop Profiling system to see if there are long running SQL queries or if a hook is taking too much time.
To enable Prestashop Profiling you should edit your /config/defines.inc.php file and turn line define('_PS_DEBUG_PROFILING_', false); to define('_PS_DEBUG_PROFILING_', true);.
We can't help you further without more informations.
Ok, so this is not just a problem of optimization of your code. I can see that you added a cdn optimize1., Prestashop allows you to add 3 different cdn, you should use this option (it will allows parallels downloads of your content). Here is some information on the subject.

Related

Is there any way to improve a website speed without damaging front end website

I am working on my client's website. I am trying to speed it up but Google page insight kept on showing slow speed of my website. Can you please suggest me how can I improve my client's website.
I minimize HTML and JS files.

Yii Website shows old pages

I am not sure why, but lately, my yii 1 website shows pages from the cache too much. Earlier, if I uploaded via FTP, it'd show the latest page. Now it doesn't do that. I also get complaints from users that they are now faced with old pages or they have problems that are later fixed with a history clear.
What could potential problems be. Can I tune down Yii caching or flush it?

Cache issue / conflict with mobile & desktop themes - Magento Community 1.7

We’re using Magento Community version 1.7 and have a standard desktop theme and a mobile theme. We’ve added matched expressions to the General > Design > Themes section to display the relevant theme based on browser user agent.
Everything works great when the cache is switched off. However, when the cache is switched on and cleared, the theme which is loaded first gets cached. Is there a way around this? Either creating a separate cache for each theme or even switching the cache off altogether for the mobile theme?
Many thanks in advance for any advice you can give.
One way to bypass this is to leave the block cache and layouts not cached. These two are probably causing the issue to happen. This won't be that great of a performance hit since Magento is a resource hog anyway. I would recommend enabling Zend Full Page Cache and perhaps even using something like memcached or APC to supplement the default magento caching.
Hope this helps!

magento image loading takes too much time

I have a problem with magento application. the site taking too much time to load. problem is with category page , images of category are not loaded as it should.
can anybody help to find solution.hosting server is bluehost.
everything was working fine previously, but now i am facing these issue.
Thanks.
Other than caching the images, there isnt much you can do except maybe upgrading the hosting account. If you are on a shared hosting account and loading 10+ product images on a page, it may take 6-7 seconds to load.
You should check the size of the images. If you are uploading images from your digital camera, a lot of times they can be several megabytes in size.
I would suggest using jpg images no larger than 800px x 800px in size. And make sure Magento cache is enabled. Each full resolution image in file size should be under 250KB.
You could also attach your magento store to a cloud service that caches images and pages which can greatly improve speed.
One more thing you can do, open a ticket with bluehost and ask them to check the speed of the site, lots of times they have tools they can run diagnostics. Maybe its something other than the images slowing things down like javascript getting hung up (any extensions installed related to the images?)

Is it safe to use code from code.jquery.com for long-term application?

I am using Ajax / jquery on a webpage i am designing... in order for it to function, i include (at the top of my page) the javascript at: http://code.jquery.com/jquery-1.4.4.js
This works great and all, but i have a fear that
1) the code might get changed without me knowing, then i encounter problems and try to debug for days / hours before finding that the code at this site changed
2) the website is no longer used / specific code no longer hosted years from now
So would it be safer to save that javascript file onto my server, and access it from there?
You should use either a Microsoft or Google CDN. It will be much faster, it will be cached for a lot of your users and it's guaranteed to be there, as opposed to the jQuery link you include.
http://code.jquery.com is jQuery's CDN (provided by Media Temple). The code at http://code.jquery.com/jquery-1.4.4.js will never change; jQuery will release a new version (which will be at a different URL), if anything needs to change (which happens all the time; version 1.5b was released today).
The jQuery guys know what they're doing, and they setup a CDN so people can easily link to jQuery. They're just as (un)likely to bring down the CDN as Google and Microsoft are at bringing theirs down.
See http://docs.jquery.com/Downloading_jQuery for more information.
Having said that, it would seem the Google hosted version (http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js), is referenced more in websites; this leads to a small performance advantage as far as your users are concerned, as the file has more chance of being cached.
It's safe, notice the version number? As jQuery is updated then that version number will change.
Of course using a CDN will always mean that it's possible for the content delivery network to go out of business. But that's the case with any non directly controlled server.
You of course could use the Google CDN for jQuery, I highly recommend it.
Relevant:
http://code.google.com/apis/libraries/devguide.html#jquery

Resources