leemarkwood Posted July 23, 2015 Posted July 23, 2015 (edited) Hello All, I've been working on a new caching module for Prestashop for some time and I'm finally ready to release the beta lite version. My main goal was to provide a module that speeds up Prestashops page load times significantly without causing too much impact on other modules. This meant a module with zero or very minimal overrides. Currently the module has no overrides which makes it easy to install and try with no risk to your store. How Ps Rocket works? When any person visits a page on your website Ps Rocket saves that page to your web servers hard drive, then any other visitor viewing the same page in the future will get the saved page directly from your servers hard drive rather than having to call the database a bunch of times. This makes the page load times significantly faster. Configuration None. Currently the module will cache all pages for 24 hours and cannot be configured in any way. I do however have plans to include options and they will definitely be included for version 1.0. Current Feature List Caches all pages to hard drive allowing faster page load time. Cache can be cleared using the standard prestashop "clear cache" button on the performance page. Cache is cleared when you update Products, Categories, etc. Compatibility 1.5.4 onwards. It may work with the lower 1.5's but its not tested. Pro Version Plans I do have plans to release a pro version of the module which will include more features such as: Image lazy loading Lazy loading dynamic content (Viewed Products Module, etc) Image optimization using reSmush.it or Kraken.io if you wish. CSS Optimization (including splitting css files if they meet the IE selector limit). psrocketlite.zip Thanks, Lee. Edited August 4, 2015 by leemarkwood (see edit history) 6 Share this post Link to post Share on other sites More sharing options...
Eolia Posted July 23, 2015 Posted July 23, 2015 hi! I have some doubts if you have some specific rules by customer or groups... The same page will be displayed for all ? 1 Share this post Link to post Share on other sites More sharing options...
leemarkwood Posted July 23, 2015 Posted July 23, 2015 Hi Eolia, The module doesn't cache pages for logged in users. So it would only cache for the guests visitors. Thanks, Lee. 2 Share this post Link to post Share on other sites More sharing options...
trancemode Posted July 24, 2015 Posted July 24, 2015 Thanks going to try this out! Share this post Link to post Share on other sites More sharing options...
Eusebio100 Posted July 24, 2015 Posted July 24, 2015 Hi, the module works very well, but I think it is necessary to periodically update some cached pages. index, news, prices drop,..... they always show the same products. This pages shown colums random products some stores. Sorry, mi english is bad. Share this post Link to post Share on other sites More sharing options...
moy2010 Posted July 24, 2015 Posted July 24, 2015 Great, gonna test it out right away . Share this post Link to post Share on other sites More sharing options...
moy2010 Posted July 26, 2015 Posted July 26, 2015 Hi, leemarkwood. From my experience, I've found some issues with your cache module:- The product sorting options from products_list doesn't work - The module somehow modified the way CCC worked with CSS, coz some CSS rules from certain files were not loaded - Don't trust me too much on this one coz I panicked once this happened and didn't have the time to doublecheck it (uninstalled the module), but somehow the module managed to modify the html structure by taking it from similar smarty templates. I was trying to see what had happened since the div's structure was a chaos. I.e., from Chrome's console I was seeing something like <div id="1"><div id="2"><div id="3"></div></div></div> when in fact the smarty template was something like <div id="4"><p class="real_one"><span class="hard_to_believe"></span></p></div> o_0 So far those are the issues I've found. Share this post Link to post Share on other sites More sharing options...
leemarkwood Posted July 27, 2015 Posted July 27, 2015 Hi, leemarkwood. From my experience, I've found some issues with your cache module: - The product sorting options from products_list doesn't work - The module somehow modified the way CCC worked with CSS, coz some CSS rules from certain files were not loaded - Don't trust me too much on this one coz I panicked once this happened and didn't have the time to doublecheck it (uninstalled the module), but somehow the module managed to modify the html structure by taking it from similar smarty templates. I was trying to see what had happened since the div's structure was a chaos. I.e., from Chrome's console I was seeing something like <div id="1"><div id="2"><div id="3"></div></div></div> when in fact the smarty template was something like <div id="4"><p class="real_one"><span class="hard_to_believe"></span></p></div> o_0 So far those are the issues I've found. Thanks for the feedback. I've changed the way the module caches the pages slightly which should make the module more reliable when it comes to different page versions. e.g. Categories with more than one page. The module doesn't touch the html structure so I'm not sure why you would get those results. Give the new version a try. The problems you mentioned above have now been resolved. 1 Share this post Link to post Share on other sites More sharing options...
dmr-electronics Posted July 27, 2015 Posted July 27, 2015 Hi, Tested your modlule, this is what i see. #1. EU Cookie is also cached this means that after a visitor accepts cookies from site it stays alert in cached folder and on website. #2. I use Store manager ( external application to manage my shop /Emagicone,) by changing mass pricing our products it doesnt effect in real time, when i delete manual your cached folder on the server and uninstall your module then the changes effect direct on real time. Further i nice module. Hope you can fix it Share this post Link to post Share on other sites More sharing options...
Eusebio100 Posted July 27, 2015 Posted July 27, 2015 The EU cookies it really is a problem, if visitor return to init page eu cookie is always there. Share this post Link to post Share on other sites More sharing options...
leemarkwood Posted July 27, 2015 Posted July 27, 2015 Hi, Tested your modlule, this is what i see. #1. EU Cookie is also cached this means that after a visitor accepts cookies from site it stays alert in cached folder and on website. #2. I use Store manager ( external application to manage my shop /Emagicone,) by changing mass pricing our products it doesnt effect in real time, when i delete manual your cached folder on the server and uninstall your module then the changes effect direct on real time. Further i nice module. Hope you can fix it Thanks for testing my module. #1 What cookie module are you using? if it's a free one. I'd like to take a look at how it's coded. #2 Store Manager makes changes directly on the database so no prestashop code is called. The only way to clear the cache is manually by going to "Advanced Parameters" > "Performance" then click Clear Cache. If you do this after you make your changes. Everything will be fine. The module does however remove cached items if you edit them within the Prestashop interface. The EU cookies it really is a problem, if visitor return to init page eu cookie is always there. What cookie module are you using? Share this post Link to post Share on other sites More sharing options...
dmr-electronics Posted July 27, 2015 Posted July 27, 2015 i use European Union Cookies Law v1.3.5 Share this post Link to post Share on other sites More sharing options...
Eusebio100 Posted July 27, 2015 Posted July 27, 2015 i use European Union Cookies Law v1.3.6, view here: http://i use European Union Cookies Law v1.3.5 Share this post Link to post Share on other sites More sharing options...
leemarkwood Posted July 27, 2015 Posted July 27, 2015 i use European Union Cookies Law v1.3.5 i use European Union Cookies Law v1.3.6, view here: http://i use European Union Cookies Law v1.3.5 Added a fix for this cookie module. Share this post Link to post Share on other sites More sharing options...
moy2010 Posted July 30, 2015 Posted July 30, 2015 Hi, Leemarkwood. Some CSS rules are still not being loaded. These come from modules CSS overrides within the theme folder in case if might help you out to find the problem. Best regards, Moises Garcia. Share this post Link to post Share on other sites More sharing options...
leemarkwood Posted July 30, 2015 Posted July 30, 2015 Hi, Leemarkwood. Some CSS rules are still not being loaded. These come from modules CSS overrides within the theme folder in case if might help you out to find the problem. Best regards, Moises Garcia. What version of prestashop are you using? Share this post Link to post Share on other sites More sharing options...
moy2010 Posted July 30, 2015 Posted July 30, 2015 What version of prestashop are you using? 1.6.1.0 Share this post Link to post Share on other sites More sharing options...
leemarkwood Posted July 31, 2015 Posted July 31, 2015 I've tested the module on 1.6.1.0 with the default theme but I haven't been able to reproduce the bug you are seeing. Are you using a custom theme? Are you able to tell which module are not getting their css? Share this post Link to post Share on other sites More sharing options...
moy2010 Posted August 4, 2015 Posted August 4, 2015 I've moved the conflicting CSS rules to global.css so that this problem doesn't occur . Share this post Link to post Share on other sites More sharing options...
leemarkwood Posted August 4, 2015 Posted August 4, 2015 I've moved the conflicting CSS rules to global.css so that this problem doesn't occur . The only reason I could think of is one of your modules was using the same hook as I'm using to inject the css files and as a result is not getting them. Going to be doing some extensive updates to this module soon mainly to allow fine grained configuration. 1 Share this post Link to post Share on other sites More sharing options...
tom52 Posted August 5, 2015 Posted August 5, 2015 Hello, How do I know if the module work? Share this post Link to post Share on other sites More sharing options...
leemarkwood Posted August 5, 2015 Posted August 5, 2015 Hello, How do I know if the module work? Your store load time will be quicker but it does not work for logged in users currently. So make sure you are logged out or you will not see any difference. Share this post Link to post Share on other sites More sharing options...
tom52 Posted August 5, 2015 Posted August 5, 2015 Your store load time will be quicker but it does not work for logged in users currently. So make sure you are logged out or you will not see any difference. Thank you, How often should I clear my cache to make sure new thing are display correctly? Share this post Link to post Share on other sites More sharing options...
leemarkwood Posted August 5, 2015 Posted August 5, 2015 When you edit certain things such as Products, Categories, etc they should get refreshed at that point but this currently will not effect related pages. e.g. if you edit a product and the product also appears on your home page. The home page won't be refreshed. Current the global cache clear time is set for 24 hours. If you wish to clear the cache before then you can click "clear cache" on the "Advanced Parameters > Performance" page. Share this post Link to post Share on other sites More sharing options...
tom52 Posted August 5, 2015 Posted August 5, 2015 When you edit certain things such as Products, Categories, etc they should get refreshed at that point but this currently will not effect related pages. e.g. if you edit a product and the product also appears on your home page. The home page won't be refreshed. Current the global cache clear time is set for 24 hours. If you wish to clear the cache before then you can click "clear cache" on the "Advanced Parameters > Performance" page. Okay, thank you, great MODULE. Share this post Link to post Share on other sites More sharing options...
dmr-electronics Posted August 10, 2015 Posted August 10, 2015 (edited) Added a fix for this cookie module. Hello, I finaly had time to test your EU fix. Eu cookie is not working good with your module. Every time you ask a different product page, the EU cookie pops up. Meaning. Your fix only work once a page our category is cached with your module. When entering a different category then the cached one it will pop up again. I think for successing your module to work, you need to fix this cause its a hard rule in EU to have this cookie warning installed on webshops. And on a manor showing once and not everytime. Edited August 21, 2015 by razaro (see edit history) Share this post Link to post Share on other sites More sharing options...
Eusebio100 Posted August 21, 2015 Posted August 21, 2015 Hi, I have prestashop 1.6.0.11 and my coockie UE work properly, when you click in "acept" never appears. Share this post Link to post Share on other sites More sharing options...
Eusebio100 Posted August 31, 2015 Posted August 31, 2015 Hi, problem with blockmanufacturer and UE cookie, if new load page, again pop up UE cookie. Share this post Link to post Share on other sites More sharing options...
robotzki Posted November 19, 2015 Posted November 19, 2015 (edited) Great module! I am on a shared host and dont use any CDN and of course wont be able to install alternative PHP cache on the server, or similar stuff, so its limited how fast i can make my site go. But with your module i was able to take my site from 83 to 92 in google pagespeed! Nice work... Edited November 19, 2015 by robotzki (see edit history) Share this post Link to post Share on other sites More sharing options...
robotzki Posted November 26, 2015 Posted November 26, 2015 Hi, I have prestashop 1.6.0.11 and my coockie UE work properly, when you click in "acept" never appears. Hi, What EU Cookie module are you using for your site . ? Share this post Link to post Share on other sites More sharing options...
dmr-electronics Posted March 10, 2016 Posted March 10, 2016 Hello, I finaly had time to test your EU fix. Eu cookie is not working good with your module. Every time you ask a different product page, the EU cookie pops up. Meaning. Your fix only work once a page our category is cached with your module. When entering a different category then the cached one it will pop up again. I think for successing your module to work, you need to fix this cause its a hard rule in EU to have this cookie warning installed on webshops. And on a manor showing once and not everytime. EU cookie in combination with PS Rocket is not working correct. even with the proposed fix it isnt. Anyone has a solution for this. if not its better not to use PS Rocket lite module. when you are inside the EU. Share this post Link to post Share on other sites More sharing options...
leemarkwood Posted April 5, 2016 Posted April 5, 2016 EU cookie in combination with PS Rocket is not working correct. even with the proposed fix it isnt. Anyone has a solution for this. if not its better not to use PS Rocket lite module. when you are inside the EU. Its been a while since this was posted and I had stopped work on this for a while but I'll take a look at it. Share this post Link to post Share on other sites More sharing options...
dmr-electronics Posted April 5, 2016 Posted April 5, 2016 Its been a while since this was posted and I had stopped work on this for a while but I'll take a look at it. Hi Lee, Its about this module ( European Union Cookies Law v1.6.5 ) https://mypresta.eu/modules/front-office-features/european-union-cookie-law.html If you have a fix iam happy to test again. My shop is based version 1.6.1.3 Thanks. Share this post Link to post Share on other sites More sharing options...
gennybeans Posted April 22, 2016 Posted April 22, 2016 This seems to be working perfectly on my shop. Brought my load time from 8s down to 2s. If my shop products/pages do not change often, is it possible to set the clear cache further into the future? Thank you! Share this post Link to post Share on other sites More sharing options...
dmr-electronics Posted July 12, 2016 Posted July 12, 2016 Its been a while since this was posted and I had stopped work on this for a while but I'll take a look at it. Any update from your site? Share this post Link to post Share on other sites More sharing options...
Halim2 Posted January 24, 2017 Posted January 24, 2017 HI its works with 1.6.1.11? Anything pls advise Thanks Share this post Link to post Share on other sites More sharing options...
rohit_verma Posted April 21, 2020 Posted April 21, 2020 please provide me this module Share this post Link to post Share on other sites More sharing options...
TomásOliveira Posted March 4, 2021 Posted March 4, 2021 Hi, Is this module compatible with Prestashop 1.7.7.2? Thanks, Share this post Link to post Share on other sites More sharing options...
salvotnt Posted March 4, 2021 Posted March 4, 2021 this module is outdated. Could you use revamped xtreme cache, it's work for me on presta 1744 ciao Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now