Your cache would have to be independent of mod_perl - I would suggest saving to a REDIS instance ?
On Sun, Sep 13, 2020 at 9:51 PM Wesley Peng <wp...@pobox.com> wrote: > 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. >