Jump to content

Consistent Url Issue - Problem With Rand


Mister Denial

Recommended Posts

Hello,

 

one thing that regularly shows up as "should be improved" when analyzing my website with tools like Gtmetrix is Serve resources from a consistent URL. In the details I see two entries:

 

http://www.mydomain.com/?rand=1454591833204

 

http://www.mydomain.com/?rand=1454591834429

 

Except, I have no idea what this rand is?

 

I assume it is some sort of random function, but why the heck is it even showing up as part of URLs on my website?

I'm on PS 1.6.0.9 right now, default theme.

 

Can anyone clarify what this rand is about and how I could address this issue? Because it is rated as high performance impact.

 

Thanks a lot for your time and help, much appreciated!

 

Dan

Link to comment
Share on other sites

It's not a random number at all, it is the UNIX timestamp: http://www.unixtimestamp.com/

 

It is mostly used to prevent caching of resources.

 

Hello neighboor! (Luxembourg here) :-)

 

Thanks for your reply! Is this part of Prestashops default behaviour, by which I mean, is this something found on most Prestashop installations? I'm really curious where that comes from. Is there a way to find which resource is the culprit?

 

Because theoretically, there is nothing on my start page that could not be cached, nothing dynamic like random sliders or product carousels.

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...