musedata / musedata-website

Website frontend for musedata
https://www.musedata.org
0 stars 0 forks source link

Add control to force regeneration of footers on PDFs #3

Open craigsapp opened 4 years ago

craigsapp commented 4 years ago

Currently data files from Bitbucket and Github sources can have footers added to them, but if the footer information changes, the PDFs that have been cached will not be updated. Come up with a system to update the cached PDFs, such as adding a parameter to the pdf.musedata.org link, such as &regenerate=true to force regeneration of the PDF with the new footer.

Alternatively or in addition to this, create a system whereby pdf.musedata.org keeps track of the current footer information for each file, and will auto-regenerate the PDF if it detects that the footer has changed.