Jump to content
thirty bees forum
  • 0

Different Resource Served with and Without www in url [SOLVED]


Saha

Question

For Better Understanding Checkout Below Eg:-

Case 1

https://abc.com/img/abc.png        Gives me the proper Latest Image

Case 2

https://www.abc.com/img/abc.png      Gives me the Old Image or image not found

Above also applies for css ,js etc.

In Case 2 i am able to get the latest image after some time interval.

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

@lesley Already Provided an example . The resources like css , js, images are latest when they are fetched without www ie https://example.com/css/example.css https://example.com/js/example.js https://example.com/image/example.jpeg

And when Fetched with www older version of the file is fetched ie https://www.example.com/css/example.css https://www.example.com/js/example.js https://www.example.com/image/example.jpeg

I guess something wrong with apache server configuration.

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