?Caching? problems?

?Caching? problems?

am 13.04.2008 00:33:45 von christos.jonathan.hayward

------=_Part_20282_9929164.1208039625148
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I am trying to move my main sites from a host which is closing to a new
server. Most of the migration has gone well but I am experiencing odd
?caching? behavior that has old data being served up even if I hit
shift-reload or go to a different computer(!).

The new server is running NetBSD, and httpd -v gives:

Server version: Apache/2.0.59
Server built: Jul 5 2007 12:37:12

The source site is http://JonathansCorner.com/ , copied on the new server to
http://moved.jonathanscorner.com/ . I'm having trouble with the root-level
index, which should change once a minute and does so on the source site.

On the destination site, I have a script that looks at the domain and serves
up either the (changing minute by minute) content of
http://JonathansCorner.com/ , or if the domain is one of a few specific
domains, serves up the content of http://JonathansCorner.com/home/ . Now,
accessing it through http://moved.jonathanscorner.com/ is intended to give
similar results to http://JonathansCorner.com/ , and if I circumvent Apache
and run the script on the command line, it does exactly what I want it to.

The behavior I have seen was first for http://moved.jonathanscorner.com/ to
give one single, frozen page like http://JonathansCorner.com/ shows (this is
persistent across shift-reloads), and then to give the content of
http://JonathansCorner.com/home/ .

I can post the script if requested, but I don't think it's the script, both
because it is simple enough--serve up one of two files depending on regexp
comparisons of the domain names--and because I get the intended dynamic
output if I run it from the command line.

Are there ways Apache may be caching that I can configure away in httpd.conf
or script headers? Are there other likely culprits?

Thanks,

--
++ Jonathan Hayward, jonathan.hayward@pobox.com
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at http://JonathansCorner.com

------=_Part_20282_9929164.1208039625148
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I am trying to move my main sites from a host which is closing to a new server. Most of the migration has gone well but I am experiencing odd ?caching? behavior that has old data being served up even if I hit shift-reload or go to a different computer(!).


The new server is running NetBSD, and httpd -v gives:

Server version: Apache/2.0.59
Server built:   Jul  5 2007 12:37:12

The source site is . I'm having trouble with the root-level index, which should change once a minute and does so on the source site.


On the destination site, I have a script that looks at the domain and serves up either the (changing minute by minute) content of , and if I circumvent Apache and run the script on the command line, it does exactly what I want it to.


The behavior I have seen was first for .


I can post the script if requested, but I don't think it's the script, both because it is simple enough--serve up one of two files depending on regexp comparisons of the domain names--and because I get the intended dynamic output if I run it from the command line.


Are there ways Apache may be caching that I can configure away in httpd.conf or script headers? Are there other likely culprits?

Thanks,

--
++ Jonathan Hayward,

** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at

------=_Part_20282_9929164.1208039625148--

Re: ?Caching? problems?

am 13.04.2008 04:15:09 von j k

------=_Part_10586_26113244.1208052909118
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Sat, Apr 12, 2008 at 3:33 PM, Jonathan Hayward http://JonathansCorner.com<
christos.jonathan.hayward@gmail.com> wrote:

> I am trying to move my main sites from a host which is closing to a new
> server. Most of the migration has gone well but I am experiencing odd
> ?caching? behavior that has old data being served up even if I hit
> shift-reload or go to a different computer(!).
>
> The new server is running NetBSD, and httpd -v gives:
>
> Server version: Apache/2.0.59
> Server built: Jul 5 2007 12:37:12
>
> The source site is http://JonathansCorner.com/ , copied on the new server
> to http://moved.jonathanscorner.com/ . I'm having trouble with the
> root-level index, which should change once a minute and does so on the
> source site.
>
> On the destination site, I have a script that looks at the domain and
> serves up either the (changing minute by minute) content of
> http://JonathansCorner.com/ , or if the domain is one of a few specific
> domains, serves up the content of http://JonathansCorner.com/home/ . Now,
> accessing it through http://moved.jonathanscorner.com/ is intended to give
> similar results to http://JonathansCorner.com/ , and if I circumvent
> Apache and run the script on the command line, it does exactly what I want
> it to.
>
> The behavior I have seen was first for http://moved.jonathanscorner.com/to give one single, frozen page like
> http://JonathansCorner.com/ shows (this is persistent across
> shift-reloads), and then to give the content of
> http://JonathansCorner.com/home/ .
>
> I can post the script if requested, but I don't think it's the script,
> both because it is simple enough--serve up one of two files depending on
> regexp comparisons of the domain names--and because I get the intended
> dynamic output if I run it from the command line.
>
> Are there ways Apache may be caching that I can configure away in
> httpd.conf or script headers? Are there other likely culprits?
>
> Thanks,
>
> --
> ++ Jonathan Hayward, jonathan.hayward@pobox.com
> ** To see an award-winning website with stories, essays, artwork,
> ** games, and a four-dimensional maze, why not visit my home page?
> ** All of this is waiting for you at http://JonathansCorner.com


Maybe I'm missing something but I don't see any issue. Both sites
http://JonathansCorner.com/ and
http://moved.jonathanscorner.com/

look the same aside from slightly different "starting points" when I view
them. The starting point on both refreshes to the same thing on both when
I do cntl-r and every so often ( ihaven't actually timed it) when I do
that it changes to a different starting point
..

So "it works for me".

------=_Part_10586_26113244.1208052909118
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline



On Sat, Apr 12, 2008 at 3:33 PM, Jonathan Hayward > wrote:

I am trying to move my main sites from a host which is closing to a new server. Most of the migration has gone well but I am experiencing odd ?caching? behavior that has old data being served up even if I hit shift-reload or go to a different computer(!).



The new server is running NetBSD, and httpd -v gives:

Server version: Apache/2.0.59
Server built:   Jul  5 2007 12:37:12

The source site is . I'm having trouble with the root-level index, which should change once a minute and does so on the source site.



On the destination site, I have a script that looks at the domain and serves up either the (changing minute by minute) content of , and if I circumvent Apache and run the script on the command line, it does exactly what I want it to.



The behavior I have seen was first for .



I can post the script if requested, but I don't think it's the script, both because it is simple enough--serve up one of two files depending on regexp comparisons of the domain names--and because I get the intended dynamic output if I run it from the command line.



Are there ways Apache may be caching that I can configure away in httpd.conf or script headers? Are there other likely culprits?

Thanks,

--
++ Jonathan Hayward,


** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at

Maybe I'm missing something but I don't see any issue. Both sites



look the same aside from slightly different "starting points" when I view them. The  starting point on both refreshes to the same thing on both when I  do cntl-r  and every so often ( ihaven't actually timed it) when I do that it changes to a different starting point

..

So "it works for me".


------=_Part_10586_26113244.1208052909118--

Re: ?Caching? problems?

am 14.04.2008 16:03:45 von christos.jonathan.hayward

------=_Part_25431_30250834.1208181825826
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I had made a mistake not related to Apache and things behaved predictably
well when I fixed it.

Sorry for troubling the list,

On Sat, Apr 12, 2008 at 9:15 PM, j k wrote:

>
>
> On Sat, Apr 12, 2008 at 3:33 PM, Jonathan Hayward
> http://JonathansCorner.com wrote:
>
> > I am trying to move my main sites from a host which is closing to a new
> > server. Most of the migration has gone well but I am experiencing odd
> > ?caching? behavior that has old data being served up even if I hit
> > shift-reload or go to a different computer(!).
> >
> > The new server is running NetBSD, and httpd -v gives:
> >
> > Server version: Apache/2.0.59
> > Server built: Jul 5 2007 12:37:12
> >
> > The source site is http://JonathansCorner.com/ , copied on the new
> > server to http://moved.jonathanscorner.com/ . I'm having trouble with
> > the root-level index, which should change once a minute and does so on the
> > source site.
> >
> > On the destination site, I have a script that looks at the domain and
> > serves up either the (changing minute by minute) content of
> > http://JonathansCorner.com/ , or if the domain is one of a few specific
> > domains, serves up the content of http://JonathansCorner.com/home/ .
> > Now, accessing it through http://moved.jonathanscorner.com/ is intended
> > to give similar results to http://JonathansCorner.com/ , and if I
> > circumvent Apache and run the script on the command line, it does exactly
> > what I want it to.
> >
> > The behavior I have seen was first for http://moved.jonathanscorner.com/to give one single, frozen page like
> > http://JonathansCorner.com/ shows (this is persistent across
> > shift-reloads), and then to give the content of
> > http://JonathansCorner.com/home/ .
> >
> > I can post the script if requested, but I don't think it's the script,
> > both because it is simple enough--serve up one of two files depending on
> > regexp comparisons of the domain names--and because I get the intended
> > dynamic output if I run it from the command line.
> >
> > Are there ways Apache may be caching that I can configure away in
> > httpd.conf or script headers? Are there other likely culprits?
> >
> > Thanks,
> >
> > --
> > ++ Jonathan Hayward, jonathan.hayward@pobox.com
> > ** To see an award-winning website with stories, essays, artwork,
> > ** games, and a four-dimensional maze, why not visit my home page?
> > ** All of this is waiting for you at http://JonathansCorner.com
>
>
> Maybe I'm missing something but I don't see any issue. Both sites
> http://JonathansCorner.com/ and
> http://moved.jonathanscorner.com/
>
> look the same aside from slightly different "starting points" when I view
> them. The starting point on both refreshes to the same thing on both when
> I do cntl-r and every so often ( ihaven't actually timed it) when I do
> that it changes to a different starting point
> .
>
> So "it works for me".
>



--
++ Jonathan Hayward, jonathan.hayward@pobox.com
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at http://JonathansCorner.com

------=_Part_25431_30250834.1208181825826
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I had made a mistake not related to Apache and things behaved predictably well when I fixed it.

Sorry for troubling the list,

On Sat, Apr 12, 2008 at 9:15 PM, j k <> wrote:



On Sat, Apr 12, 2008 at 3:33 PM, Jonathan Hayward > wrote:


I am trying to move my main sites from a host which is closing to a new server. Most of the migration has gone well but I am experiencing odd ?caching? behavior that has old data being served up even if I hit shift-reload or go to a different computer(!).




The new server is running NetBSD, and httpd -v gives:

Server version: Apache/2.0.59
Server built:   Jul  5 2007 12:37:12

The source site is . I'm having trouble with the root-level index, which should change once a minute and does so on the source site.




On the destination site, I have a script that looks at the domain and serves up either the (changing minute by minute) content of , and if I circumvent Apache and run the script on the command line, it does exactly what I want it to.




The behavior I have seen was first for .




I can post the script if requested, but I don't think it's the script, both because it is simple enough--serve up one of two files depending on regexp comparisons of the domain names--and because I get the intended dynamic output if I run it from the command line.




Are there ways Apache may be caching that I can configure away in httpd.conf or script headers? Are there other likely culprits?

Thanks,

--
++ Jonathan Hayward,



** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at

Maybe I'm missing something but I don't see any issue. Both sites




look the same aside from slightly different "starting points" when I view them. The  starting point on both refreshes to the same thing on both when I  do cntl-r  and every so often ( ihaven't actually timed it) when I do that it changes to a different starting point


..

So "it works for me".




--
++ Jonathan Hayward,
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?

** All of this is waiting for you at

------=_Part_25431_30250834.1208181825826--