How can I disable caching in nginx?


+1 vote
asked Mar 15, 2016 by gur_the (440 points)
I'm not familiar with nginx and have trouble editing/fixing php script served through nginx. My fixes are not visible- it seems script file (or its output) are cached, by nginx.

4 Answers

0 votes
answered Jun 2, 2016 by brito1960 (560 points)
selected Jun 4, 2016 by Shouldaspec
 
Best answer
I posted this last night and then a friend pointed me to this question. Find the answer at How to Setup FastCGI Caching with Nginx on your VPS ...
0 votes
answered May 15, 2016 by Gur_The (220 points)

Edit the Virtual Host configuration file for which caching has to be enabled.
commented May 16, 2016 by willIwanejko (350 points)
I have a workaround for this that works for me. I hope I answered your question
0 votes
answered Jun 2, 2016 by fpe_The (480 points)
Browse other questions tagged nginxcache or ask your own question.
commented Jun 2, 2016 by McaulayThat (640 points)
I have just figured out something with this error. In most cases this is the most efficient way
0 votes
answered Jun 2, 2016 by nameIs (210 points)
I know that this is a very old question. I tried looking at Disable Caching - Nginx Forum but it seems to be more about the command itself

Related questions


What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...