• Previous message: [greg-dev] Caching of favicons
  • Next message: [greg-dev] Security hole in Snoopy
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    [greg-dev] Caching of favicons

    2005/10/26, Marco Bonetti <mbonetti at gmail.com>:
    > Hello,
    >
    > as of changeset [982] remote favicons are now stored in the database,
    > and served with ETag and Expiration headers.
    >
    > The main advantage is that if the remote site goes down your Gregarius
    > experience won't be spoiled by the remote favicon requests timing out.
    >
    > Another benefit is that icons are always served with the
    > "image/x-icon" mime type, which Internet Explorer is supposed to like
    > (better.)
    >
    > Oh, the feature is still experimental (meaning you cannot turn it off ;)
    >
    > To use it simply edit your feed properties and submit the unchanged
    > form. Gregarius will fetch the remote icon and dump it into the cache
    > table as a blob.
    >
    > Alternatively export your feedroll as OPML and re-import it (use
    > another table prefix if you don't want to lose your items!)
    >
    >
    > If you care to test please report any oddities (read: disappearing
    > favicons) you might notice here.
    >
    >  -m
    >
    
    I don't like the way of stocking the favicons ... A database should
    not be used in this way. I suggest to store the favicons in a folder.
    Some hosts do not like that also. And, as for me, it's useless to
    store them in mysql because it adds additional load to mysql for
    *nothing*.
    
    
    Posted by AeN0 [reply] at Wed Oct 26 22:18:39 CEST 2005