News:

Wondering if this will always be free?  See why free is better.

Main Menu

cache is killing me. Can't see any changes.

Started by pittu, April 14, 2015, 01:20:54 PM

Previous topic - Next topic

pittu

I am doing some template changes.

Can not see the changes. Tried to delete files in 'cache' folder. Tried to force refresh the browser. Not working. Go to different browser like if I am opening FF, I need to open IE to see changes and vice versa...

Anything else I need to disable to see changes? Only temporary until I update template design.

thnx.

Illori

sounds like your host has some type of caching enabled. talk to them.

Sir Osis of Liver

You can use something like this to prevent caching -

.htaccess



# NEVER CACHE
<FilesMatch "\.(txt|htm|php|php4)$">
Header set Cache-Control "max-age=0, private, no-store, no-cache, must-revalidate"
</FilesMatch>


When in Emor, do as the Snamors.
                              - D. Lister

pittu

Working great!!

thnx.

Quote from: Krash on April 14, 2015, 03:28:49 PM
You can use something like this to prevent caching -

.htaccess



# NEVER CACHE
<FilesMatch "\.(txt|htm|php|php4)$">
Header set Cache-Control "max-age=0, private, no-store, no-cache, must-revalidate"
</FilesMatch>



roshaoar


Advertisement: