• Closed by: Alex
  • Closed on: 07.08.14, 18:20
  • Reason: No answer from a customer
  • Comment: Glad to help!

Ticket #5541 - Minic Slider does not show if Prestashop Smart cache for JavaScript is turned on

The Minic Slider (on the home page) does not show if Prestashop Smart cache for JavaScript is turned on [under PrestaShop performance options].

If I leave it turned off, then the left column product navigation block, does not show, or show briefly and disappears, and randomly actually works.

I suspect that its some sort of timing issue, as we only noticed the problem as we got our response time from 4 seconds down to slightly under 2.

I don’t know why I am picking up more than my fair share of bugs, I must be good at breaking things :)

Thanks

Comments

Alex 29 Jul 2014, 14:20

Hi. As I see you are using some pagespeed feature http://c2n.me/iCEp2c
Try to disable it and check the issue

Larry Norton 29 Jul 2014, 17:40

That was the problem, Google mod_pagespeeed. I forgot that I enabled it for testing. Its only giving me a few tenths of a second performance difference.

I know that this is not your problem, but the bulk of my wait time is a 1.23 seconds of lag wait time (should be less than 0.2 seconds), just for the home page to load (over a fast FiberOp connection), for an unacceptable 2 second response time.

Mod_pagespeed did not help. My goal is to get below 1 second for page to page response time. We have a dedicated server with solid state drives, so this should be achievable, especially with a shop with only 300 items.

If you think of something obvious performance wise please let me know, otherwise you can close this case.

Thanks

Alex 29 Jul 2014, 18:41

Here is our performance tips
http://docs.promokit.eu/doku.php/prestashophelp:performance
1) You need enable JS compressing
2) Add the cache expiring for the files into htaccess file
3) Use CDN serivce
4) Try to disable some modules and check the site speed and find the module with performance problems.

Larry Norton 30 Jul 2014, 03:00

Hi when I turn on Smart cache for JavaScript in the Prestashop Performance options, the mimic slider does not appear on the home page.

I did an advance search, and I saw somebody else had the same problem with the small advertising slider.

Since I don’t use the small advertising slider on the home page, I unhooked it from the display header, as I only use in the left column for category pages.

When I disabled an re-enabled the small advertising slider, it wiped out the changes from the last bugfix that actually allowed the editing of the url, title, blank and alt.

Fortunately, the old stuff was already there, so I don’t need to edit this again.

In summary, I got my site to work, but others may not be so lucky with the small advertising slider.

Thanks for the advice on the performance tips.

Alex 30 Jul 2014, 10:38

Hi when I turn on Smart cache for JavaScript in the Prestashop Performance options, the mimic slider does not appear on the home page. But I thought you already know the reason “mod_pagespeed” Try to use Ashowcase slider instead of Minic. There you also can just simply add the slider.

JS compressing really good feature for site performance.
and disable all the modules that you don’t use.

Larry Norton 30 Jul 2014, 15:44

Actually we had two separate issues, that was masking as one problem.

The mod_pagespeed was making the left hand product tree disappear
The small advertising slider was making the mimic slider to disappear, only when smart cache for JS is turned on.
After doing an advance search, I found somebody else had the same problem (Ticket 4407, Problem #10).
The solution didn’t work for me, but my unhooking solution worked.
I will keep the Ashowcase slider in mine, for future websites, if I have showcase and small advertising slider on same page.
All prestashop performance features are turned on (including Java Script compression), but I have not turned off any modules (and there is alot that we don’t need). I think this is where my big savings in time is going to take place.
With this and your other suggestions, Prestashop should be lightning fast.

Alex 30 Jul 2014, 16:37

With this and your other suggestions, Prestashop should be lightning fast. Yes you are right