8a1ad785c25e39aa796a0a074a5c4913680daeeb brianlee Thu Jun 10 11:59:40 2021 -0700 Adding a note about refreshing the CyVerse cache if you replace a file refs #27543 diff --git src/hg/htdocs/goldenPath/help/hgTrackHubHelp.html src/hg/htdocs/goldenPath/help/hgTrackHubHelp.html index 3bab9da..64c8924 100755 --- src/hg/htdocs/goldenPath/help/hgTrackHubHelp.html +++ src/hg/htdocs/goldenPath/help/hgTrackHubHelp.html @@ -982,30 +982,35 @@ <div class="text-center"> <img height="200px" src="../../images/cyverseCreatePublicLink2.png"> </div> <p> The hub.txt file (if not using the <a href="hgTracksHelp.html#UseOneFile" target="_blank">useOneFile on</a> setting) will need to point the related genomes.txt location, which in turn points to the trackDb.txt location using these full https://data.cyverse.org/... links as well.</p> <p> Please see the <a href="https://cyverse.atlassian.net/wiki/spaces/DEmanual/pages/242027070/Using+the+Discovery+Environment" target="_blank">Using the Discovery Environment</a> wiki page on the CyVerse wiki for more information. Please direct any questions about CyVerse or the Discovery Environment to their <a href="https://cyverse.org/contact" target="_blank">Contact Us</a> page or "Chat with Cyverse support" staff directly via the blue question box icon on the top right of the Discovery Environment page.</p> +<p> +Note, if you need to replace files once they have been uploaded into CyVerse's DE and Public links +have already been created you will need to force update the CyVerse cache by hitting Control-Shift-R +in your browser to force reload the file or by sending Cache-Control: no-cache header: <code>curl +--head --header 'Cache-Control: no-cache' https://data.cyverse.org/.../dataFile.bam</code></p> <!-- Galaxy stub <h3>Hosting Hubs on Galaxy</h3> <p> Galaxy is </p> --> <h3>Hosting Hubs on Github</h3> <p> <a href="https://github.com" target="_blank">Github</a> supports byte-range access to files when they are accessed via the <em><b>raw.githubusercontent.com</b></em> style URLs. To obtain a raw URL to a file already uploaded on Github, click on a file in your repository and click the <em>Raw</em> button:</p> <div class="text-center"> <img height="275px" width="55%" src="../../images/githubRawLink.png" alt="Location of the Raw button for generating a plaintext URL to a file hosted on Github."> </div> <p>