cache a object in modperl
Wesley Peng <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <[email protected]> |
Hello I am not so familiar with modperl. For work requirement, I need to access IANA TLD database. So I wrote this perl module: https://metacpan.org/pod/Net::IANA::TLD But, for each new() in the module, the database file will be downloaded from IANA's website. I know this is pretty Inefficient. My question is, can I cache the new'ed object by modperl? If so, how to do? Thanks.