-2

I am trying to use a sefaria project : https://github.com/Sefaria/Sefaria-Project i have ran the project locally and when I tried to change the logo and some text in Header.jsx under static/js folder, desired result is not showing on browser. I am guessing its because of django caching that they put in place. If you guys have any idea, how to figure it, plz let me know.

const headerContent = (
      <>
        <div className="headerNavSection">
          { Sefaria._siteSettings.TORAH_SPECIFIC ?
          <a className="home" href="/" >{logo}</a> : null }
          <a href="/texts" className="textLink"><InterfaceText context="Header">Textss</InterfaceText></a>
          <a href="/topics" className="textLink"><InterfaceText>Topicss</InterfaceText></a>
          <a href="/community" className="textLink"><InterfaceText>Communityss</InterfaceText></a>
          <DonateLink classes={"textLink donate"} source={"Header"}><InterfaceText>Donate</InterfaceText></DonateLink>
        </div>
lungsang
  • 133
  • 13
  • press Ctrl+Shift+R to hard reload/refresh the tab in your browser to see the changes. it clears the cache. – Muhammad Waqar Anwar Aug 30 '23 at 05:37
  • Does this answer your question? [Django won't refresh staticfiles](https://stackoverflow.com/questions/27911070/django-wont-refresh-staticfiles) – He3lixxx Sep 01 '23 at 01:52

0 Answers0