Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorjm
    • CommentTimeJun 4th 2009 edited
     # 1
    Hi,
    I really love lilina usability and for me it's better than Google reader. The only thing that bothers me is, that it takes a long time to wait for the feeds to be loaded when I open lilina. It is about 20-30 sec and that feels like a really long time. Gregarius seemed to perfom much faster. Is there anything I could do to improve lilina's speed?
    Best regards
    •  
      CommentAuthorjm
    • CommentTimeJun 4th 2009 edited
     # 2
    I just got the idea to set up a cronjob to call lilina every 30min for example, so that the feeds are already cached when I access lilina. What do you think about it?

    Update: I tried it out: I set up a cronjob using the service on cronjob.de calling the index.php every 15 min, but it does not work out. Maybe I would need to write a simple php script that just calls the function to fetch the feeds. I played around but could not get such a script to work.
    •  
      CommentAuthorRyan McCue
    • CommentTimeJun 5th 2009
     # 3
    This is planned for 1.1 under issue #54. It should be fairly easy to code up the script however, so it may come earlier.
    •  
      CommentAuthorjm
    • CommentTimeJun 5th 2009
     # 4
    Thanks, I would appreciate it a lot as I still could not get the script working by myself.
    •  
      CommentAuthorjm
    • CommentTimeJun 7th 2009
     # 5
    Hi, which function would I need to call to fetch the feeds?
    •  
      CommentAuthorRyan McCue
    • CommentTimeJun 7th 2009
     # 6
    lilina_return_items() contains the code used to update everything, but you'll need to pass in your own SimplePie object with the cache duration set to 0, to force it to update (then set it really high for every other time).
    •  
      CommentAuthorjm
    • CommentTimeJun 13th 2009
     # 7
    I managed to get it working. I set up a cronjob to run this script every 10min: http://nopaste.org/p/aiVFYb5klb
    In feed-functions.php I added the line $feed->set_cache_duration('9999999999999999999999');

    Thank you for the help!
Add your comments
    Username Password
  • Format comments as