Advertisement:

Author Topic: How to clean pages cache?  (Read 1279 times)

lucas88

  • Newbie
  • *
  • Posts: 18
How to clean pages cache?
« on: February 28, 2015, 04:30:04 pm »
Hello all,

do you know how to clean pages cache? I have problem because I have maintenance mode enabled and when I disabled maintenance mode page is working normally... but when I want to share pages link i.e. to facebook  on shared link appears that page is in maintenance mode.

Any suggestion please?

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: How to clean pages cache?
« Reply #1 on: February 28, 2015, 05:00:50 pm »
Have you cleared your Browser's pages?
Ie. CTRL+F5 in IE to reload page (think this also works in other browsers)

Regards,
Eric

lucas88

  • Newbie
  • *
  • Posts: 18
Re: How to clean pages cache?
« Reply #2 on: March 01, 2015, 05:26:12 pm »
Yes I have tried this..also tried to share page on different computer

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: How to clean pages cache?
« Reply #3 on: March 01, 2015, 09:57:24 pm »
Sorry, don't have any other solutions at the moment  :-X

Regards,
Eric

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: How to clean pages cache?
« Reply #4 on: March 01, 2015, 11:18:51 pm »
Hi,

Haven't worked with the cache myself, but seems this helper should clear it: osc_cache_flush()

Add this at the very bottom of your theme functions.php (take care not to leave blank lines after this?:

Code: [Select]
<?php osc_cache_flush(); ?>
Enter your site and see if your problem is gone. ??? If so, delete that.

Regards

lucas88

  • Newbie
  • *
  • Posts: 18
SOLVED How to clean pages cache?
« Reply #5 on: March 02, 2015, 11:21:31 am »
Its solved :).
 I have found out that facebook causes this issue... all I needed was to go to https://developers.facebook.com/tools/debug/  and put there pages link and click on debug ...
But thanks anyway

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: How to clean pages cache?
« Reply #6 on: March 06, 2015, 10:32:51 pm »
Do you mean there is a problem with the current Facebook plugin or simply an error in your own code related to Facebook?

Regards,
Eric