• jonalange

    (@jonalange)


    We have a server that is limited in the amount of files that can be stored.

    We have a pretty large page with a lot of filters that are currently filtered locally with JS. We would like to switch to serverside filtering and also cache all these filters and combination of filters.

    I have the fear that we will get exponentially growing file usage by caching all of this. So I was wondering. How many files are created per items cached? Is it 1 item = 1 file for the cache, or how does the math work?
    When I go to the preload page we currently have this amount to cache:
    ?action=wpfastestcache&type=preload

    homepage: 1/1
    customposttypes: 0/2068
    post: 0/0
    attachment: 372/2258
    page: 28/28
    category: 0/1
    tag: 0/1
    customTaxonomies: 0/1271

    So would this result in 5628 individual files? Or is some stuff combined into a single file?
    We have around 4 fields with up to 20 options for filtering. That would be 20^4 = 160k. When caching these combinations, would it create 160k cache files?

    I hope this question makes sense, if something is unclear, please let me know and I will elaborate.

    • This topic was modified 3 months ago by jonalange.
Viewing 1 replies (of 1 total)
  • Plugin Author Emre Vona

    (@emrevona)

    5628 individual files will be created. In addition, JS sources will be minified but do not worry about it because a js source is loaded in every page.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.