Skip to content

Making a web page cache even if the parameters change

Is there a way to get a browser to cache a web page even if the parameters change? I have a web assembly app that takes parameters. If the parameters change, the browser forces a download. Is there any way I can set headers so that the parameters aren’t a factor in caching? i.e. if I do and …the b…

Parse a nested JSON in PHP

I have a nested JSON which looks likes this: { “user”: { “personal_info”: { “name”: “XYZ”, “State”: “CA”, …

Should a database be used for storing rich text?

I’m working on a web app for a private team that should let them post text documents, like a text editor, via PHP and then hypothetically it will be displayed on the site so it can be opened and …

Post array with Ajax but PHP gets string

I’m posting several variables from Ajax to PHP and one of them is an array. However PHP sees a string instead of an array. I can’t figure out what’s wrong. Ajax string seen in Firefox Dev console: …