Hello,
if I add a new blocks via Page Builder there was saved first in the "Cache"(inc/db_cached)... and after refresh I can see the blocks on a page...
How can I refresh the cache with a script ?
Thank
Hello, if I add a new blocks via Page Builder there was saved first in the "Cache"(inc/db_cached)... and after refresh I can see the blocks on a page... How can I refresh the cache with a script ? Thank |
When your adding new blocks to a page the cache should already refresh for you automatically. Normally it is colors that have issues with needing the cache refreshed regularly, not blocks as blocks are part of the css code and thus your server will check those files regularly to ensure it's pulling them correctly.
I have also seen this issue with background images, logos and such but never with the actual blocks being added, especially since the creation of a new block automatically recompiles all the language keys. |
When your adding new blocks to a page the cache should already refresh for you automatically. Normally it is colors that have issues with needing the cache refreshed regularly, not blocks as blocks are part of the css code and thus your server will check those files regularly to ensure it's pulling them correctly. I have also seen this issue with background images, logos and such but never with the actual blocks being added, especially since the creation of a new block automatically recompiles all the language keys. I have got a similar problem - I havent made any new blocks, but all of my admin blocks arent being refreshed at all. So if i decide to add a new user myself, as a test - the link to the new user page works, the new user form works (except i have to refresh it to see the new verification picture, I just get the last one used otherwise), but when I go back to the users list the new user doesnt show until i refresh. This happens with every block and for each users view too... every navigation to a new page gets old cached copy, until the browsers refresh button is clicked. weird. I'm wondering if theres a htaccess problem. |