Welcome Guest, Not a member yet? Register   Sign In
Cache : Best Pratice
#1

Hi,
Do you have any recommendations for optimizing the speed of the site with the Cache, both for Internet users and for Google?

In my controllers, I use the following line before returning my views:


PHP Code:
$this->cachePage(604800); 

Once the page is cached, it is displayed much faster for the users.

However, I have the impression that the Google Bot crawl is slower (I don't have enough log data to confirm this)

I also notice that the header returns :

PHP Code:
cache-controlno-storemax-age=0no-cache 


Do you advise to change this? And if yes, what should I do?

If you also have recommendations to improve the overall performance, I'm interested Smile

Ps : I use the file-based cache

Thanks in advance for your answer
--- I am not a developer ---
Reply


Messages In This Thread
Cache : Best Pratice - by InstantT - 07-06-2022, 07:08 AM
RE: Cache : Best Pratice - by includebeer - 07-06-2022, 01:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB