Jump to content

still fight site slow - host says it's blah.com/?rand=137xxx


Recommended Posts

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 by berklee.grad (see edit history)
Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...