473,811 Members | 3,402 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Alter Cache timing in Magpie.

vikas1111
122 New Member
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 2335
vikas1111
122 New Member
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 Recognized Expert Expert
You'd be better off asking on a Magpie (whatever that is, apart from a bird) forum.

Mark.
Jul 21 '09 #3
vikas1111
122 New Member
@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
236
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). This shared cache is critical / the primary function of the system. At the core of this system there is a cache of objects that can be modified by anyone, and a windows service (thread) that will run operations with the cached objects on...
0
1261
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 parsed. I'm particularly interested in the "<yweather ... />" field. It just isn't there. Could it be that Magpie ignores it? I believe it mainly seraches for <tag> </tag> fields and nothing else, but I'm not sure. What does the "/>" end of the tag...
0
1116
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 they were brought in to the cache; I could see this in the trace. Accessing them again (after going to another form) seemingly did not bring them down from the server (acording to the trace), I suppose because they were in the cache. I closed...
18
2212
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 display performance when the user eventually requests the cached document. Is there a way to do this in Javascript? Thanks
3
4109
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; // when are files stale, default one hour
0
1932
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: curl -k https://www.on-qu.co.uk/feed88.xml But Magpie RSS can't fetch it and gives:
8
2503
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 generates it. A SQL query is run first into $result and then: if (mysql_num_rows($result)>0) {
0
1270
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 crashes). Has anyone had success displaying more than one feed on a page with magpie???? if not, any suggestions as to code that might do the job..; I would really appreciate any advice. Have been fighting with this code for days! Thanks
1
1164
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 is our web server or sql server (2000). I noticed that the app uses cache (with sql server 2000) and Session States. I compiled a list of what was in cache and session state and wondered if you could give me your opinion on it. Is it a lot? ...
0
9726
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10647
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10395
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10130
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7667
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6887
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5553
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3865
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3017
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.