We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
caching
caching
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?
-
- Posts: 129
- Joined: Tue Mar 08, 2016 8:03 pm
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: caching
Do you using apache or apache+nginx or something else?
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: caching
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?
Can you check that the HTML file is cached? And you don't use some caching template in Vesta?
Re: caching
All vesta templates - default: for apache, nginx, etc.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?
>30 people said me what file is old, not refreshing, but press f5 - all ok, downloading new version.