Page 1 of 1
caching
Posted: Tue Mar 15, 2016 10:57 am
by st0rk
HI. I have specific directory in my site, i want disable caching to 1 file in this directory or all directory, because *.html pages generates them several times a day and users must reload page in browser (F5) to see the changes. how to disable caching for a single folder or all folder?
Re: caching
Posted: Wed Mar 16, 2016 5:50 am
by Nanotraktor
Do you using apache or apache+nginx or something else?
Re: caching
Posted: Wed Mar 16, 2016 3:28 pm
by tjebbeke
Normally so far as I know you have problems with your browser caching, I think your browser never cache HTML files only javascript, CSS, images, ... When server caching is enabled then, f5 also won't work to refresh the content.
Can you check that the HTML file is cached? And you don't use some caching template in Vesta?
Re: caching
Posted: Wed Mar 16, 2016 4:21 pm
by st0rk
tjebbeke wrote:Normally so far as I know you have problems with your browser caching, I think your browser never cache HTML files only javascript, CSS, images, ... When server caching is enabled then, f5 also won't work to refresh the content.
Can you check that the HTML file is cached? And you don't use some caching template in Vesta?
All vesta templates - default: for apache, nginx, etc.
>30 people said me what file is old, not refreshing, but press f5 - all ok, downloading new version.