berklee.grad Posted September 12, 2013 Share Posted September 12, 2013 (edited) Greetings All, still in conversation with the our host over the slowness of our Prestashop install for www.halleminlures.com Categorically they say; "Our System Administrators have found that website slowness is due to particular URL http: // www.halleminlures.com/?rand=1378838511751 . You might need to review the codes of random image generator." Any pointers on where to look to ferret this out? I have searched for /?rand and found any real clear explanations or resolutions. thanks in advance, -Rick Edited September 12, 2013 by berklee.grad (see edit history) Link to comment Share on other sites More sharing options...
maximo88 Posted October 31, 2013 Share Posted October 31, 2013 What is rand? It uses 2 seconds on my webpage. Help! http://www.webpagetest.org/result/131031_VV_FEV/1/details/ Link to comment Share on other sites More sharing options...
maximo88 Posted November 16, 2013 Share Posted November 16, 2013 url: baseDir + 'modules/blockcart/blockcart-set-collapse.php' + '?rand=' + new Date().getTime(), http://www.prestashop.com/forums/topic/282861-solved-add-to-cart-doesnt-work/?view=findpost&p=142388 The module blockcart is the problematic. How can we solve it? Everybody must have this problem because it's a base module in prestashop. Link to comment Share on other sites More sharing options...
vekia Posted November 16, 2013 Share Posted November 16, 2013 url: baseDir + 'modules/blockcart/blockcart-set-collapse.php' + '?rand=' + new Date().getTime(), http://www.prestashop.com/forums/topic/282861-solved-add-to-cart-doesnt-work/?view=findpost&p=142388 The module blockcart is the problematic. How can we solve it? Everybody must have this problem because it's a base module in prestashop. just wondering how it is possible that this simple variable slowing down website, for my knowledge, it is impossible The randomness of the "rand" URL parameter forces the server and the browser (or whatever ) to think the web service call is unique and therefore cannot use any kind of caching mechanism. Now, this is not for EVERY web service call; the randomization only occurs when the browser is first loaded Link to comment 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