Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

caching

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
st0rk
Posts: 22
Joined: Mon Mar 14, 2016 8:59 pm

caching
  • Quote

Post by st0rk » Tue Mar 15, 2016 10:57 am

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?
Top

Nanotraktor
Posts: 129
Joined: Tue Mar 08, 2016 8:03 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: caching
  • Quote

Post by Nanotraktor » Wed Mar 16, 2016 5:50 am

Do you using apache or apache+nginx or something else?
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: caching
  • Quote

Post by tjebbeke » Wed Mar 16, 2016 3:28 pm

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?
Top

st0rk
Posts: 22
Joined: Mon Mar 14, 2016 8:59 pm

Re: caching
  • Quote

Post by st0rk » Wed Mar 16, 2016 4:21 pm

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.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password