Score:0

How to disable caching in Google Cloud (php, magento, app.yaml?)

kr flag

i'm new with google cloud and here is my problem:

I have a magento/bitnami installation in gcc and i have to run some php files for updating the product database

After the execution of a php file, the cloud (i suppose!) is caching the php-file for about 24 hours (Changes in the file will only occur after 24 hours min) In the documentation they are talking about only 10 minutes caching in the default configuration so i'm not sure if it's really the cloud which is caching.

I've tried a "header" function in the php file to disable the cloud cache: no results: (header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1)

I've tried to create a app.yaml file with "cache-control" but i don't know where to write and how to activate this specific app.yaml (i'm new, have read the documentation but i haven't find a step by step example...)

Can anyone help me? thanks.

kind regards

djdomi avatar
za flag
force expire of any negative value
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.