Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.
  • Software configuration :

I have a new server with Windows Server 2008 R2 installed via VMWare. I have installed Apache2.2, PHP5.2 and MySQL5.5 as separate packages.

  • Issue :

On my first installation of my application, all works great. When I updated some JS and CSS files and accessed my application again from a PC on local network, I got the old JS and CSS versions. When I access the same application on local server I got the latest versions of those files.

  • Link of my application on local server is : http://localhost/BADIL
  • Link of my application from local network is : http://LOCAL_SERVER_IP/BADIL

I think that must be some cache but I don't know where. Maybe on Win Server 2008 R2 or on VMWare?

The question is: Why, when I access my application on the server, everything works fine, but when I access the same application from a local network, I do not see the updated versions of JS and CSS files?

share|improve this question
1  
Have you tried clearing the browser cache? – symcbean Sep 25 '12 at 11:52
Of course yes! Browser cache and application cache! The question is why the modifications appears when accessing on local server and not when accessing from client on local network?! – Ahmed Benlahsen Sep 25 '12 at 13:23

closed as not constructive by John Gardeniers, Ward, Adrian, rnxrx, Brent Pabst Oct 15 '12 at 14:56

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.

1 Answer

I won't suspect this issue with VMWare or Win Server as It's more likely related to web server and php.

have you tried reloading the page from your local network after making changes to css and js files.

Just do a ctrl+F5 and see if it still loads the old page.

share|improve this answer
Ok I see. If I replace IP serevr by it's name can this solve the problem? – Ahmed Benlahsen Sep 25 '12 at 13:25

Not the answer you're looking for? Browse other questions tagged or ask your own question.