El Patron - Viewing Profile: Topics - PrestaShop

Jump to content

El Patron

Member Since 18 Oct 2011

Offline Last Active Today, 09:25 PM

Topics I've Started

[Module Experimental] Jssupercache One Ccc'ed .js File Across All Pages

19 February 2016 - 10:01 PM

Version 1.5: Attached File  jssupercache.zip   51.31KB   12 downloads

Requires PrestaShop version 1.6


This module should NOT be run in production system, i.e. you can install on any running shop but you should not disable the built in simulator.  When simulator is enable the logic only executes for that IP.  It's all explained in the module tabs.


What was reason for writing jsSuperCache?


When we look at existing performance features of PrestaShop we can see natives builds one CCC'ed .js file per page type.  When we then navigate across pages a 'different' CCC'ed  .js file is served, i.e. it must be transferred to browser.  A typical main page landing, product view, add to cart, checkout process each 'will' have a different CCC'ed .js file.  You get the idea.


jsSuperCache was built do learn what .js files your shop uses across page calls and create one CCC .js file (super cache).  It does perfectly, I know because I test so nobody else has to.


Then once installed and as you navigate across your shop pages the module detects new JavaScript local calls, if found new then it recreates the jsSuperCache file.  When no new .js is discovered it serves the cached file.


Testing shows that the single cached CCC'ed .js file significantly speeds up 'above the fold' page render, it however breaks .js as we do not have variables intied for  .js called on some pages, and not others.  Anyway, we know it does not take a lot to break current .js usage. lol


The great news?  PrestaShop 1.7 is planned to have this built into native because they can direct developers and set best practice.  So this module is for PrestaNerds who want to experience at least in test what one CCC .js file will be like.


Oh, if some .js genius can tell me how to make this work in production I will pay them a handsome reward...I am only half genius.


Happy day, el




[Pdf] Paypal Cross-Border Consumer Research 2015

08 December 2015 - 01:58 PM

Good news for online merchants selling products and services to customers in international markets. According to a new PayPal Cross-Border Consumer Research 2015 report (PDF), cross-border sales are on the rise, and the U.S. is the most preferred destination for online shopping.


Link to full report (pdf) Demo Theme how to have product with left right cols?

03 November 2015 - 08:35 PM

I do 'very' little front office work.


I'd like to figure out how one gets the product display to have either/or right col and left col to display hooks there?


Thanks and happy day, el


url  I am working with


[eBooks] PAYPAL’S How to Sell Internationally | Selling into China

21 October 2015 - 06:55 PM

Links to two PayPal eBook offerings you may find useful.


How to Sell Internationally

Selling Into China


Please feel free to discuss or provide feedback on  or discuss how you can best localize your shop to international visitors.

EU Cookie Law for visitors detected from outside of EU

05 July 2015 - 07:13 PM

I am unclear about the EU cookie law.


Does anyone know if visitor is from outside EU zone, i.e. IP resolves to US, then my assumption is that the 'boiler plate' on cookie store would not be required?


Thanks in advance, el

Cookies help us deliver our services. By using our services, you agree to use our cookies.     Learn more