Page 1 of 1

doubt

Posted: Sat Oct 23, 2021 11:16 pm
by alexoliveira
I would like to know if there is a way to fix example: whenever I publish a site I need to clear cache to see bug free updates. can you give me some tips on how to not need to clear cache?

thanks

Re: doubt

Posted: Sun Oct 24, 2021 7:30 am
by Pablo
Maybe this will be helpful?
viewtopic.php?f=5&t=91773&hilit=meta+cache

Re: doubt

Posted: Mon Oct 25, 2021 2:51 pm
by alexoliveira
I didn't really understand what has to be done, I tried to follow the steps of bacon fries and I didn't get any results. Can you help me around here?

Re: doubt

Posted: Mon Oct 25, 2021 2:58 pm
by Pablo
Which part of the instructions is not clear for you?

Re: doubt

Posted: Mon Oct 25, 2021 3:42 pm
by alexoliveira
I didn't understand what needs to be done to disable this cache, because it really is giving conflict on all sites that I publish or republish an update.

Re: doubt

Posted: Mon Oct 25, 2021 3:58 pm
by Pablo
Step 1
Add the following code using Page Properties and inserting into Meta Tags>Meta Tags>User Defined

Code: Select all

<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
Step 2
On the server, edit .htaccess file:

Code: Select all

# DISABLE CACHING
<IfModule mod_headers.c>
	Header set Cache-Control "no-cache, no-store, must-revalidate"
	Header set Pragma "no-cache"
	Header set Expires 0
</IfModule>
Note, I cannot give support on server configuration, so if you are not an advanced user then I suggest to ask your webhost to do this for you.

Re: doubt

Posted: Mon Oct 25, 2021 5:00 pm
by alexoliveira
it worked thank you, now i need to know why the mobile mode does not open?

Re: doubt

Posted: Mon Oct 25, 2021 5:05 pm
by BaconFries
now i need to know why the mobile mode does not open?
What do you mean by that? Do you have a url so we can view. Please note if you have a "New" question can you please open a "New" topic with it so not to confuse the original.

Re: doubt

Posted: Mon Oct 25, 2021 5:14 pm
by alexoliveira
this is my client I use both desktop and moo mobile 320px modes, the site is opening on mobile desktop too

Re: doubt

Posted: Mon Oct 25, 2021 5:15 pm
by alexoliveira

Re: doubt

Posted: Mon Oct 25, 2021 5:24 pm
by Pablo
What is the exact problem?
Can you please be more specific?

Re: doubt

Posted: Mon Oct 25, 2021 5:32 pm
by alexoliveira
sorry, i'm brazilian i'm trying to express myself better lol, so my problem was the cache now we managed to solve it... but the mobile version doesn't want to open anymore, it opens the site normally on mobile but the mobile version i did at 320px the breakpoints does not open after placing the cache code

Re: doubt

Posted: Mon Oct 25, 2021 5:39 pm
by Pablo
What do you mean by "mobile version doesn't want to open anymore"
What did you expect to see?

Re: doubt

Posted: Mon Oct 25, 2021 6:25 pm
by alexoliveira
exactly the mobile version is not opening anymore, only the desktop

Re: doubt

Posted: Mon Oct 25, 2021 6:26 pm
by crispy68
it opens the site normally on mobile but the mobile version i did at 320px the breakpoints does not open after placing the cache code
The cache code has nothing to do with breakpoints and should not affect anything unless you entered the code incorrectly breaking the html.

Personally, part of your problem I see is you need to use min-width versus max-width. In Manage Breakpoints, you want to check the box: Activate breakpoints when browser window is larger than the device width.

By using max-width, I'm seeing the 480px view which leaves a white space all the way down the right side. It doesn't see the 320px breakpoint because my phone is bigger than that however 480px is too big.
exactly the mobile version is not opening anymore, only the desktop
As far as I can tell, I'm seeing the mobile view. However, it doesn't look like you've optimized some of the breakpoints for mobile. If I take my desktop browser and reduce the width, many objects just get thinner and don't look good (ex: the highlights section) and you also have stuff outside of the viewport.

Re: doubt

Posted: Mon Oct 25, 2021 7:19 pm
by alexoliveira
thanks to everyone involved everything was fixed better support thanks again

Re: doubt

Posted: Tue Oct 26, 2021 12:34 pm
by alexoliveira
thanks for solving the problem