Hi Hans, one of my documents uses \attachment to embed PDF documents (well, it contains many). I have been doing this for more than a year, but right now it is way slower: over 250s vs. 7s compilation time (with and without the attachment). It takes me 6s to download the document directly with curl using the same address. I’m afraid this might be also related to the server where the file is downloaded from. The document seems to be downloaded in each run. I wonder whether this could be improved with these proposals: 1. Only download the document on the first run of each compilation. 2. Before that, check last modified information (from "curl -I") and avoid downloading if the already downloaded file is newer that the remote version. 3. It would be better if downloaded files could have the remote time ("curl -R"), instead download time. CreationDate and ModDate might differ from upload time. A sample for that would be https://etsc.eu/wp-content/uploads/2014_06_smart_factsheet_alco_gate_sweden..... These are dates from the PDF document: CreationDate: Mon Jul 7 14:57:05 2014 CEST ModDate: Mon Jul 7 14:57:07 2014 CEST And this is what "curl -I" displays about uploading time: Last-Modified: Sat, 24 Mar 2018 13:51:29 GMT Would it be possible to implement these proposals to improve remote file embedding? Many thanks for your help, Pablo -- http://www.ousia.tk
participants (1)
-
Pablo Rodriguez