473,406 Members | 2,390 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Alter Cache timing in Magpie.

vikas1111
122 100+
Hi All.

I want to know how to alter Cache timing in Magpie. I tried to edit rss_cache.inc to 10 seconds but its not working.
"var $MAX_AGE = 10; // when are files stale, default one hour"
Can anyone kindly help me ?
Jul 20 '09 #1
3 2313
vikas1111
122 100+
We can disable Cache in magpie by editing the bellow line in rss_fetch.inc from
define('MAGPIE_CACHE_ON', true);
to
define('MAGPIE_CACHE_ON', false);
Jul 21 '09 #2
Markus
6,050 Expert 4TB
You'd be better off asking on a Magpie (whatever that is, apart from a bird) forum.

Mark.
Jul 21 '09 #3
vikas1111
122 100+
@Markus
MagpieRSS is a PHP class that parses RSS and Atom feeds. Anyways thanks for your kind reply.
Jul 21 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: noah | last post by:
Hi, I'm in the middle of writing a multi-user system with very critical timing issues. I've already implemented a cache and an API to access it (with appropriate locking for multithreaded access)....
0
by: pyda001 | last post by:
I'm trying to read rss weather feeds, but am fairly new to this. Currently I've set up Magpie RSS to read the yahoo weather feeds. So far so good. The problem is that not all fields seem to be...
0
by: NormD | last post by:
We are wondering how the cache gets used and reused as DLLs are brought in to it. I did some timing traces starting with a cleared cache. As forms (individual DLLs) were accessed the first time...
18
by: Mark | last post by:
Hello. I am looking for a way to download and cache a web page that the user has not yet requested, and write the web page to the browser cache without displaying it. My intention is to improve...
3
by: StevePBurgess | last post by:
Hi all, I am using Magpie RSS and want to change the Caching period to half an hour instead of one hour. I have modified the line in RSS_CACHE.INC so that it reads: var $MAX_AGE = 900; ...
0
by: StevePBurgess | last post by:
Hi I am using Magpie RSS and want to be able to use feeds on a secure server. I've put a test feed on https://www.on-qu.co.uk/feed88.xml At the command line, I can fetch this file using: ...
8
by: Steve | last post by:
Can any see why Magpie RSS won't accept this RSS Feed (that is valid according to the Feed Validator website). http://www.westyorksprobation.org.uk/rss.php?type=Library This is the code that...
0
by: musicpro64 | last post by:
I am having a problem calling more than one instance of the magpie rss code on a php page (one single instance can be used to display one feed... if I try to display two feeds on a page it...
1
by: dities13 | last post by:
Hello all and thank you for your time. We have a 3rd party application written for my office (vb.net 2.0 framework). However, we are getting reports of slow response time and do not believe it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.