Plugin Contributor
Fred
(@fredawd)
Our website is currently under maintenance. Below the article:
The average size of a cached page should be about 200-400Kb. That means if you have 1.000 pages the normal cache size will be about 200-400 Mb.
This usually happens if there are a very large number of pages or if there is a dynamic part in JS or CSS – some themes/plugins creates dynamic js and that is why the folder is filled up.
Be sure to manually remove the entire contents of the cache folder and do the following steps:
a) enable separate CSS (styles) and separate JS (Scripts) in Optimization settings:
Settings > Optimization > Scripts: Separate Scripts
Settings > Optimization > Styles: Separate Styles
b) exclude unnecessary post types: autoconfig should find most and exclude them automatically but you can add them manually: Settings > Caching > Exceptions> Exclude Post Types
Afterwards rebuild the cache and see if the problem is solved.
If you still don’t have enough space for this you should maybe consider to exclude some pages from cache, or upgrade to a larger hosting package.
Thread Starter
lmsm76
(@lmsm76)
Hi Fred,
I follow your detailed “guide”. Now I have:
Known Pages
2353
Cached Pages
0
Cache size
781,24 Mb
But the status of each page say “Cached”
The results in https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fpecas-moto.agracing.pt&tab=desktop are not so good.
57 for Desktop
30 for Mobile
Any more useful information that you can help with?
Thanks!
Plugin Contributor
Fred
(@fredawd)
Currently your (home)page isn`t cached at all, so Pagespeed test is useles. Most likely there is another cache layer active which prevent Swift from cache pages.
Thread Starter
lmsm76
(@lmsm76)
It have a mark saying that is cached
https://pecas-moto.agracing.pt/
View | Clear cache | Remove URL
10
Update
10/08/2019 16:17
The results in page speed are the same.
How can I detect or really check if the page is checked?
Thanks,
Luis
Plugin Contributor
Fred
(@fredawd)
Hi luis,
Look at the source of a page (at the end), eg
view-source:https://pecas-moto.agracing.pt/
or check header through browser console, developer tools, network tab.