Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: Strategies for temporary image files in CGI

by Itatsumaki (Friar)
on Nov 21, 2003 at 17:05 UTC ( [id://308955]=note: print w/replies, xml ) Need Help??


in reply to Re: Strategies for temporary image files in CGI
in thread Strategies for temporary image files in CGI

Excel made it remarkably easy to change from GIF to PNG formats (just changing a parameter). And the image quality is pretty much the same, so that worked well. Thanks!

I like your first approach, since the chart data is coming from a query returning multiple records. If I read what you are suggesting correctly, I don't have to worry about time-stamps at all, just check the hash values. That would allow much longer time-to-refresh values for the files.

  • Comment on Re: Re: Strategies for temporary image files in CGI

Replies are listed 'Best First'.
Re: Re: Re: Strategies for temporary image files in CGI
by Roger (Parson) on Nov 21, 2003 at 19:22 UTC
    Personally I don't think the time-stamp is necessary. But your original post said there was a requirement of not generating a new image within 48 hours. The timestamp is used for that purpose. If your data is pretty static, you can certainly drop that 48 hour checking bit.

      Indeed, data can't be refreshed more often that every 48 hours, but not all data will change in every update, so this is a superior solution.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://308955]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-26 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found