How to apply chunk / modx template changes?

1 answer

I make changes to the template files, upload them via ftp (or through the admin panel). In the admin panel the chunk's code changes, but the site itself does not change. Why?

I tried:

  1. Clear the cache through the modx admin panel - "Management - Clear the cache"
  2. Delete the cache folder, which is located in the "core \ cache" directory
  3. I tried to completely delete the template folder to check if there would be changes.
  4. Modify the .htaccess file

None of this helped. There are changes in the admin panel, but everything remains as it was on the site

Website on MODX Revolution 2.6.5 In the settings of the server (hosting) it is written that Apache 2. * and PHP 7.1 are used

Here is the .htaccess file

# MODX supports Friendly URLs via this .htaccess file. You must serve web # pages via Apache with mod_rewrite to use this functionality, and you must # change the file name from ht.access to .htaccess. # # Make sure RewriteBase points to the directory where you installed MODX. RewriteRule ^.*[-/]v(\d+)-.*$ index\.php?id=$1&%{QUERY_STRING} [L] RewriteRule ^v(\d+)-.*$ index\.php?id=$1&%{QUERY_STRING} [L] RewriteRule ^k(\d+)[-/].*[-/]v(\d+)-.*$ index\.php?id=$1-$2&%{QUERY_STRING} [L] RewriteRule ^k(\d+)[-/]v(\d+)[-/].*$ index\.php?id=$1-$2&%{QUERY_STRING} [L] RewriteRule ^v(\d+)[-/].*[-/]k(\d+)[-/].*$ index\.php?id=$2-$1&%{QUERY_STRING} [L] RewriteRule ^v(\d+)[-/]k(\d+)[-/].*$ index\.php?id=$2-$1&%{QUERY_STRING} [L] RewriteRule ^.*[-/]v(\d+)[-/]k(\d+)[-/].*$ index\.php?id=$2-$1&%{QUERY_STRING} [L] RewriteRule ^.*[-/]v(\d+)[-/].*[-/]k(\d+)[-/].*$ index\.php?id=$2-$1&%{QUERY_STRING} [L] RewriteRule ^.*[-/]k(\d+)[-/].*[-/]v(\d+)[-/].*$ index\.php?id=$1-$2&%{QUERY_STRING} [L] RewriteRule ^.*[-/]k(\d+)[-/]v(\d+)[-/].*$ index\.php?id=$1-$2&%{QUERY_STRING} [L]  RewriteEngine On RewriteBase /  # The Friendly URLs part RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]  #php_flag register_globals Off  #php_flag zlib.output_compression On #php_value zlib.output_compression_level 5  #ExpiresActive On #ExpiresByType image/gif A2592000 #ExpiresByType image/jpeg A2592000 #ExpiresByType image/png A2592000 #BrowserMatch "MSIE" brokenvary=1 #BrowserMatch "Mozilla/4.[0-9]{2}" brokenvary=1 #BrowserMatch "Opera" !brokenvary #SetEnvIf brokenvary 1 force-no-vary 

What to do? Maybe someone came across a similar one?

All answers to this question, which has the identifier 57620376

The best answer:

What about your browser cache? How do you flush it? Is it the problem with just one chunk or with all of them? How do you call them? I mean like this - [[!...]]? Each resource has "cacheable" setting, what about it?

PS: setting "cacheable" should be on the tab "Settings" with other resource settings, like whether it is a container or not, etc.

https://docs.modx.com/revolution/2.x/making-sites-with-modx/structuring-your-site/resources

Last questions

how do i remove the switch on my home screen?
how to edit the JS date and time to update atuomatically?
How to utilize data stored in a multidimensional array
Powermockito not mocking URL constructor in URI.toURL() method
Android Bluetooth LE Scanner only scans when phone's Location is turned on in some devices
docker wordpress container can't connect to mysql container
How can I declare a number in java that is more than 64-bits? [duplicate]
Optaplanner solutionClass entityCollectionProperty should never return null error when simple JSON object passed to controller
Anylogic, get the time a pedestrain is in a queue
How do I fix this syntax issue with my .flex file?
Optimizing query in PHP
How to find the highest number of a column and print two columns of that row in R?
Ideas on “Error: Type com.google.firebase.iid.zzav is referenced as an interface from com.google.firebase.messaging.zzd”?
JCIFS SmbFile.exists() and SmbFile.isDirectory() return false when it exists and I can listFiles()
PHP total order
Laravel booking system design
neural net - undefined column selected
How to indicate y axis does not start from 0 in ggplot?
Fragments in backStack
Spinner how to change the data