XAMPP doesn't recognize changes on my projects

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP doesn't recognize changes on my projects

Postby maylo » 04. January 2017 19:55

I am a new user, trying to make a simple webpage, following a YouTube tutorial for jQuery & Ajax.
As of the half of tut courses, the main concern was jQuery, so I was running my index.html directly from my PC file on Google Chrome.
Any changes that I made in my .html .css and .js files were instantly embeded on browser after I saved them and refresh the page.

In the middle of the courses, is suggested to install XAMPP for local server, as Ajax coding comes in first. And now the problem begins.

My project main file, contains, among others, a file named "text" in which there are 8 .txt files, named from 1 to 8 (e.g. 1.txt, 2.txt, etc). Into those .txt files, I've written a different word.

The problem is that if I change the content of any of those .txt files, when I reload the page, it keeps giving me the old content.
I get the content of those .txt files, with a $.get(); but this seems not to be the problem.
If I browse to localhost/myproject/text I get the .txt files on my browser screen and if I click on them it keeps giving me the old content, as if they are saved once and for all, I can't modify them!

Please some help!
maylo
 
Posts: 2
Joined: 04. January 2017 19:14
XAMPP version: 7.0.13
Operating System: Windows 7

Re: XAMPP doesn't recognize changes on my projects

Postby Altrea » 04. January 2017 20:24

Browser cache issue
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: XAMPP doesn't recognize changes on my projects

Postby maylo » 05. January 2017 16:13

THANK YOU!!!!!
I spent a day of my life trying to find out what the problem was, and you solve it in just 3 words, Thank you again!

Just for future refernce-similar user problems, I disabled Chrome Dev cache, and it works fine now.
Anonther solution that I found is Cache Killer extension for Chrome, that clears the browsers cache in every page refresh
maylo
 
Posts: 2
Joined: 04. January 2017 19:14
XAMPP version: 7.0.13
Operating System: Windows 7

Re: XAMPP doesn't recognize changes on my projects

Postby Altrea » 05. January 2017 16:15

You are welcome :D
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: XAMPP doesn't recognize changes on my projects

Postby SusieQ » 25. September 2017 21:52

I had the same issue. Thank you both for posting and solving! :D
SusieQ
 
Posts: 2
Joined: 03. July 2016 00:26
Location: Austin, Texas, USA
XAMPP version: 5.6.23
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 136 guests