How to prevent server caching

17 views
Skip to first unread message

django boonman

unread,
Dec 21, 2011, 5:41:04 AM12/21/11
to Qubit Toolkit Developers
We're using Ica-Atom-1.2.0. Our testservers is caching files we do not
want to be cached. How can I disable caching on the testserver and on
the production server? Where can I configure this stuff (in
config.php)? Where can I find documentation?

David Juhasz

unread,
Dec 21, 2011, 11:09:05 AM12/21/11
to qubi...@googlegroups.com

Hi django,

The ICA-AtoM cache settings are defined in apps/qubit/config/settings.yml

The settings file is inherited from the symfony framework (specifically
Symfony version 1.4.x) that Qubit/ICA-AtoM is based on. Documentation
on the config options can be found here:
http://www.symfony-project.org/reference/1_4/en/04-Settings

Regards,
David

--
David Juhasz,
Software Engineer

Artefactual Systems Inc.
www.artefactual.com

django boonman

unread,
Dec 22, 2011, 5:32:14 AM12/22/11
to Qubit Toolkit Developers
Thanks, configure your 'server-level' in index.php: (dev/test/prod)

Regard, Django

Arnout

unread,
Jan 27, 2012, 10:17:03 AM1/27/12
to Qubit Toolkit Developers
Hi,
We disabled the cache in the settings.yml (cache: false), but there is
still caching going on.
Is there an other way to disable caching?

regards, Arnout.

Jesús García Crespo

unread,
Jan 27, 2012, 12:27:25 PM1/27/12
to qubi...@googlegroups.com
Hi Arnout,

There are different cache strategies in Symfony 1.4. Which one do you want to disable? Templates cache is disabled by default in ICA-AtoM so it shouldn't be a problem for you. We only cache some menu components.

There are other cache strategies that are only used in the production environments: autoloadable classes are cached all in one file under the cache directory (core compilation), configuration files are parsed and converted into PHP code, etc... these strategies are ignored when the debug mode is enabled, as far as I know. More information here: http://goo.gl/Q8jzZ

If you are having caching issues with a web proxy you may want to try some different client-side caching strategies documented in here: http://www.symfony-project.org/gentle-introduction/1_4/en/12-Caching#chapter_12_http_1_1_and_client_side_caching

Good luck! Tell us how it goes.

Regards,


On Fri, Jan 27, 2012 at 7:17 AM, Arnout <arnout....@gmail.com> wrote:
Hi,
We disabled the cache in the settings.yml (cache: false), but there is
still caching going on.
Is there an other way to disable caching?


--
Jesús García Crespo,
Software Engineer, Artefactual Systems Inc.
http://www.artefactual.com | +1.604.527.2056
Reply all
Reply to author
Forward
0 new messages