Skip to content

Performance issues after loading 50 articles  #37

@mohanzeal

Description

@mohanzeal

Hi shameerc,

This application is good for small blogs i.e for about 20-30 articles blog. If we keep on writing articles and if exceeds more than 50 articles then the performance is getting degraded(issue 1). I think this is the issue with the loadArticles() function in Textpress class that loads all the articles in the articles directory in the function that's why the object of the Textpress class is occupying more memory and more time if there are more articles processing them.

One more thing is that cache is not working(issue 2) for the get parameter strings in the url. I have implemented pagination for the index page like localhost/textpress/?page=3 and for each page the cache is displaying only the first visit page.

Can you please fix this 2 issues.

And this application is very fast and loads with in 0.1 second if the articles are less than 10 in number. So if you can figure out a work around for optimizing Textpress object then this application will be the fastest application that can be used with out any problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions