Jump to content
thirty bees forum
  • 0

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


Question

Posted

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.

9 answers to this question

Recommended Posts

  • 0
Posted

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

  • 0
Posted

Without seeing the site it is impossible to tell. The core is not doing it, the only way I can see it happening is if you have resources statically programmed in.

  • 0
Posted

[SOLVED] It was Cache Control Issue . Cache Control was with a max age of a week. Purging with cloudflare fixed the issue.

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