[ensembl-dev] a caching question?

Simon Brent sb23 at sanger.ac.uk
Fri Apr 27 15:15:18 BST 2012


You need to restart your server with the -f (or -r) option to flush the
cache. I would highly recommend disabling the cache in your sandbox
however, as it can be a massive pain when you forget about it

Simon

-----Original Message-----
From: dev-bounces at ensembl.org [mailto:dev-bounces at ensembl.org] On Behalf
Of Thomason, James
Sent: 27 April 2012 15:00
To: Ensembl developers list
Subject: Re: [ensembl-dev] a caching question?

I've gotta have something else going on then, I've been restarting the
web server between all of my edits and still can't get them to show up.
I was hoping I was running into an issue where the page was being cached
on disk and that was something I could clear out.

Here's what I'm doing -

Hitting this page:
http://dev.gramene.org/Arabidopsis_thaliana/Transcript/Ontology/Table?db
=core;g=AT3G52430;oid=1;r=3:19431371-19434403;t=AT3G52430.1

And clicking on the "General Identifiers" link on the left under
External References. It looks like the result is rendered out of code in
Ensembl::Web::Component, specifically in the _matches method. But no
matter how much I mess with it, I can't change the output on the page.

If it's not a caching issue, then I have to just be looking in the wrong
spot. Could someone point me in the right direction?

On Apr 26, 2012, at 3:18 AM, Jay Humphrey wrote:

Yes, there is caching of the source code.  You woul have to restart the
server every time you make a change, or add Apache2::Reload to the
apache/mod_perl configuration.
In conf/httpd.conf, just before the <Perl> section, add:...

On 26/04/2012 00:01, Thomason, James wrote:
Gang,

I'm working on another exporting gimmick and am having trouble. I've
mostly tracked it down, but am trying to isolate what looks like a bug
to me. My issue is that no matter where I seem to add in debugging code
to ensembl to trace it back, it's never getting executed. I'm trying to
add some debugging lines to EnsEMBL::Web::Component, but nothing's
showing up.

So my questions -
1) Is there some cache that's butting in here? And, can I clear it out
easily enough?
or
2) Is there some other file I should be editing instead? A plugin or
something?

Many thanks, as always.

--
-Jim Thomason...

Scientific Informatics Developer @ The Ware Lab,
a USDA-ARS Laboratory at Cold Spring Harbor Laboratory
http://www.warelab.org/
http://www.cshl.edu/


_______________________________________________
Dev mailing list    Dev at ensembl.org<mailto:Dev at ensembl.org>
List admin (including subscribe/unsubscribe):
http://lists.ensembl.org/mailman/listinfo/dev
Ensembl Blog: http://www.ensembl.info/

--
Jay Humphrey                   Ensembl Genomes Web Developer
EMBL-EBI                       Tel: +44-(0)1223-492682
Wellcome Trust Genome Campus   Fax: +44-(0)1223-494468
Cambridge CB10 1SD, UK         http://www.ensemblgenomes.org/



_______________________________________________
Dev mailing list    Dev at ensembl.org<mailto:Dev at ensembl.org>
List admin (including subscribe/unsubscribe):
http://lists.ensembl.org/mailman/listinfo/dev
Ensembl Blog: http://www.ensembl.info/

--
-Jim Thomason...

Scientific Informatics Developer @ The Ware Lab,
a USDA-ARS Laboratory at Cold Spring Harbor Laboratory
http://www.warelab.org/
http://www.cshl.edu/


_______________________________________________
Dev mailing list    Dev at ensembl.org
List admin (including subscribe/unsubscribe):
http://lists.ensembl.org/mailman/listinfo/dev
Ensembl Blog: http://www.ensembl.info/




More information about the Dev mailing list