# Issue with Apache

**URL:** <https://dietpi.com/forum/t/issue-with-apache/1361>\
**Category:** Troubleshooting\
**Created:** [27 June 2017 10:13 UTC](https://dietpi.com/forum/t/issue-with-apache/1361 "2017-06-27T10:13:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dietpiOK](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/d/5e9695/32.png) [@dietpiOK](https://dietpi.com/forum/u/dietpiOK)\
**Post date:** [27 June 2017 10:13 UTC](https://dietpi.com/forum/t/issue-with-apache/1361/1 "2017-06-27T10:13:53Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)\
**Post date:** [27 June 2017 16:41 UTC](https://dietpi.com/forum/t/issue-with-apache/1361/2 "2017-06-27T16:41:35Z")

</div>

Hi,

You’ll need to disable caching, try:  
[https://stackoverflow.com/questions/22891965/how-to-disable-cache-of-apache](https://stackoverflow.com/questions/22891965/how-to-disable-cache-of-apache)

---

<div class="post-metadata">

**Author:** ![dietpiOK](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/d/5e9695/32.png) [@dietpiOK](https://dietpi.com/forum/u/dietpiOK)\
**Post date:** [28 June 2017 13:59 UTC](https://dietpi.com/forum/t/issue-with-apache/1361/3 "2017-06-28T13:59:53Z")

</div>

Hmm… I applied the code to my .htaccess file but unfortunately the same behaviour ☹  
Any other idea?

---

<div class="post-metadata">

**Author:** ![dietpiOK](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/d/5e9695/32.png) [@dietpiOK](https://dietpi.com/forum/u/dietpiOK)\
**Post date:** [16 July 2017 13:57 UTC](https://dietpi.com/forum/t/issue-with-apache/1361/4 "2017-07-16T13:57:19Z")

</div>

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?
