> > It all depends on how you serve those pdf/png files. Can you post > > code? If your png is part of the page design/css and lives under /pub
So you're making them available through a link, therefore imho, your png/pdf is not part of the page design. I would suggest changing your function as follows: > (defun make-plot-page (comp) > (declare (ignore comp)) > (lambda (&rest args) > (declare (ignore args)) > (with-html > (:h1 "O.. 2010 - ... .. updated every night, click to download pdf") > (:a :href (str (format nil "/pub/images/olympix2010~A.pdf" > (get-today's-file) ) ) > (:img :src (str (format nil "/pub/images/olympix2010~A.png" > (get-today's-file) ) )))))) > > I did a reload, I even did a wget to download the document and it > contained stale data. But when I repeted the procedure now it worked > fine. Where get-today's-file generates "_Thursday_25th_Feb" etc. as required. You can have a separate process generate the file according to the naming convention above. -- You received this message because you are subscribed to the Google Groups "weblocks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/weblocks?hl=en.
