VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: mrmysterious on July 07, 2016, 03:43:14 AM

Title: Changes take long before they appear on live site
Post by: mrmysterious on July 07, 2016, 03:43:14 AM
Hello again,

while working long time today on my project I realized that changes I make (creating products, product categories and so on) take some time to appear on live site.
However Joomlas global cache is not activated the site seems to be cached a long time, even emptying the browser cache don't help.
Is this a problem with server configuration maybe? Does it take too long to read the new values out of the database?
For example now, after about 15 min. my new category finally appeared.

cheers
mrm
Title: Re: Changes take long before they appear on live site
Post by: jenkinhill on July 07, 2016, 12:18:15 PM
Ensure that Joomla's System - Page Cache is unpublished. I use a cache cleaner during site development or updates to clear local caching:  https://www.regularlabs.com/extensions/cachecleaner

But in your case it does sound like caching at host level, maybe using Cloudflare or similar.

Title: Re: Changes take long before they appear on live site
Post by: mrmysterious on July 07, 2016, 17:50:04 PM
Thank you. I'll try that and also will ask the hosting company about the problem.
Title: Re: Changes take long before they appear on live site
Post by: mrmysterious on July 08, 2016, 05:12:58 AM
QuoteI use a cache cleaner during site development or updates to clear local caching:  https://www.regularlabs.com/extensions/cachecleaner

Just for better understanding: My joomla-system-cache-plugin is unpublished and deactivated.

Which local cache will the cache cleaner clear? The browser cache? There should nothing of my live site be in it as the joomla-system-cache is deactivated and unpublished.
Or will my live-site (frontend) be cached anyway?
Title: Re: Changes take long before they appear on live site
Post by: GJC Web Design on July 08, 2016, 10:20:28 AM
browser cache is browser...  you can only clear that locally

the Joomla cache plugins etc are at server level and serve cached versions of the pages

you can see them in the /cache folder

I have all off on any of my installs

If all yours are off (be aware that the VM category views are ALWAYS cached .. so empty the Joomla cache if u are doing changes there) then it could well be some server caching, Cloud Flare stuff

Host will tell u
Title: Re: Changes take long before they appear on live site
Post by: mrmysterious on July 08, 2016, 18:37:31 PM
Quote(be aware that the VM category views are ALWAYS cached .. so empty the Joomla cache if u are doing changes there

Thank you.  :D
That could be the explanation. Because it's changes here that are shown very delayed in frontend. I didn't know that this is ALWAYS cached,
although the joomla-cache is set off.
So I will clear the cache when changes made.

cheers,
mrm
Title: Re: Changes take long before they appear on live site
Post by: mrmysterious on July 09, 2016, 17:38:24 PM
Feedback:

The above mentioned cache cleaner plugin seems to have saved my problem.
When using it changes I make appear in the frontend instantly.

Thanks very much for that. :)

cheers

mrm
Title: Re: Changes take long before they appear on live site
Post by: jflash on January 22, 2018, 12:05:05 PM
Quote from: GJC Web Design on July 08, 2016, 10:20:28 AM
(be aware that the VM category views are ALWAYS cached ..
How long is this cashing time?