Issue with Apache

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
dietpiOK
Posts: 79
Joined: Thu Mar 16, 2017 9:33 am

Issue with Apache

Post by dietpiOK »

Hi,

I am not quite sure if this question is well positioned right here but I'll give it a try:
On my dietpi I installed the LAMP stack. During development of websites I sometimes have minor changes and sometimes larger.
When I change only a couple of bytes my Apache will not deliver the new version of a page but still the one without the small change. After a while (some seconds) it will deliver the new version.
If I do larger changes Apache will immediately deliver the latest version.

Any idea what I can change in my Apache configuration to always deliver the latest version of a file without taking care of the amount of changes?

Best regards,
Olaf
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Issue with Apache

Post by Fourdee »

Hi,

You'll need to disable caching, try:
https://stackoverflow.com/questions/228 ... -of-apache
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
dietpiOK
Posts: 79
Joined: Thu Mar 16, 2017 9:33 am

Re: Issue with Apache

Post by dietpiOK »

Hmm... I applied the code to my .htaccess file but unfortunately the same behaviour :(
Any other idea?
dietpiOK
Posts: 79
Joined: Thu Mar 16, 2017 9:33 am

Re: Issue with Apache

Post by dietpiOK »

Any other idea on that? I already tried to disable any cache on my apache.
Does the PHP parser do any caching? Or how can I determine which cache might cause that issue?
Post Reply