Why is my Django server still serving old files after changing filenames and clearing cache? ...

Why here is plural "We went to the movies last night."

What can we do to stop prior company from asking us questions?

How do I construct this japanese bowl?

The King's new dress

Is HostGator storing my password in plaintext?

How to make a variable always equal to the result of some calculations?

Only print output after finding pattern

Unreliable Magic - Is it worth it?

What size rim is OK?

Explicit solution of a Hamiltonian system

% symbol leads to superlong (forever?) compilations

When airplanes disconnect from a tanker during air to air refueling, why do they bank so sharply to the right?

How should I support this large drywall patch?

Why do professional authors make "consistency" mistakes? And how to avoid them?

If I blow insulation everywhere in my attic except the door trap, will heat escape through it?

Is it okay to store user locations?

When did Lisp start using symbols for arithmetic?

Why did we only see the N-1 starfighters in one film?

How to write papers efficiently when English isn't my first language?

Is it a good idea to use COLUMN AS (left([Another_Column],(4)) instead of LEFT in the select?

Anatomically Correct Mesopelagic Aves

Increase performance creating Mandelbrot set in python

Science fiction novels about a solar system spanning civilisation where people change their bodies at will

Why doesn't a table tennis ball float on the surface? How do we calculate buoyancy here?



Why is my Django server still serving old files after changing filenames and clearing cache?



The Next CEO of Stack OverflowWhy some websites recognize data after deleting history/cache/cookies?Apache suddenly stops serving to LAN computers, now only localhostDNS cache will not clear on a Windows XP machine?Clearing cache frequently in Chromeold boot option still exist after formatSetting up VirtualHost for MAMP server?Apache2 server won't restart after replacing server.crt with server.crt from caApache Server Running Django Project showing only “Index of /” and the names of project files instead of running the site(cache from disk) with Chrome/Safari cache on macOS SierraCannot modify HTML files over Samba












1















I have made some changes to my Ubuntu server running Django with Apache. I modified some HTML, JS and CSS files, but nothing has changed.



Things I have tried:




  1. Clearing browser cache

  2. Renaming files to try and circumvent cache.

  3. Ran manage.py collectstatic

  4. Restarted Apache

  5. Rebooted server


I was under the impression that changes to HTML files were reflected immediately in Django, so I am really baffled as to how it could still be serving the old version of the file. I have already checked that there are no duplicated files.



I must be forgetting something. Any ideas, anyone?










share|improve this question









New contributor




user2905256 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    1















    I have made some changes to my Ubuntu server running Django with Apache. I modified some HTML, JS and CSS files, but nothing has changed.



    Things I have tried:




    1. Clearing browser cache

    2. Renaming files to try and circumvent cache.

    3. Ran manage.py collectstatic

    4. Restarted Apache

    5. Rebooted server


    I was under the impression that changes to HTML files were reflected immediately in Django, so I am really baffled as to how it could still be serving the old version of the file. I have already checked that there are no duplicated files.



    I must be forgetting something. Any ideas, anyone?










    share|improve this question









    New contributor




    user2905256 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      1












      1








      1








      I have made some changes to my Ubuntu server running Django with Apache. I modified some HTML, JS and CSS files, but nothing has changed.



      Things I have tried:




      1. Clearing browser cache

      2. Renaming files to try and circumvent cache.

      3. Ran manage.py collectstatic

      4. Restarted Apache

      5. Rebooted server


      I was under the impression that changes to HTML files were reflected immediately in Django, so I am really baffled as to how it could still be serving the old version of the file. I have already checked that there are no duplicated files.



      I must be forgetting something. Any ideas, anyone?










      share|improve this question









      New contributor




      user2905256 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I have made some changes to my Ubuntu server running Django with Apache. I modified some HTML, JS and CSS files, but nothing has changed.



      Things I have tried:




      1. Clearing browser cache

      2. Renaming files to try and circumvent cache.

      3. Ran manage.py collectstatic

      4. Restarted Apache

      5. Rebooted server


      I was under the impression that changes to HTML files were reflected immediately in Django, so I am really baffled as to how it could still be serving the old version of the file. I have already checked that there are no duplicated files.



      I must be forgetting something. Any ideas, anyone?







      ubuntu apache-http-server python cache django






      share|improve this question









      New contributor




      user2905256 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      user2905256 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 1 hour ago







      user2905256













      New contributor




      user2905256 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 1 hour ago









      user2905256user2905256

      63




      63




      New contributor




      user2905256 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      user2905256 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      user2905256 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          user2905256 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1418831%2fwhy-is-my-django-server-still-serving-old-files-after-changing-filenames-and-cle%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          user2905256 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          user2905256 is a new contributor. Be nice, and check out our Code of Conduct.













          user2905256 is a new contributor. Be nice, and check out our Code of Conduct.












          user2905256 is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1418831%2fwhy-is-my-django-server-still-serving-old-files-after-changing-filenames-and-cle%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

          Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

          Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...